We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a50d3da commit 54b237eCopy full SHA for 54b237e
clang/test/CodeGen/PowerPC/transparent_union.c
@@ -10,20 +10,20 @@
10
// RUN: -emit-llvm -fshort-enums %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK-32
11
12
typedef union tu_c {
13
- char a;
14
- char b;
+ signed char a;
+ signed char b;
15
} tu_c_t __attribute__((transparent_union));
16
17
typedef union tu_s {
18
- short a;
+ short a;
19
} tu_s_t __attribute__((transparent_union));
20
21
typedef union tu_us {
22
- unsigned short a;
+ unsigned short a;
23
} tu_us_t __attribute__((transparent_union));
24
25
typedef union tu_l {
26
- long a;
+ long a;
27
} tu_l_t __attribute__((transparent_union));
28
29
// CHECK-LABEL: define{{.*}} void @ftest0(
0 commit comments