Mercurial > hg > CbC > CbC_llvm
comparison clang/test/PCH/chain-external-defs.c @ 173:0572611fdcc8 llvm10 llvm12
reorgnization done
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 11:55:54 +0900 |
parents | 1d019706d866 |
children | 2e18cbf3894f |
comparison
equal
deleted
inserted
replaced
172:9fbae9c8bf63 | 173:0572611fdcc8 |
---|---|
14 // RUN: FileCheck -input-file=%t -check-prefix=AC %s | 14 // RUN: FileCheck -input-file=%t -check-prefix=AC %s |
15 // RUN: FileCheck -input-file=%t -check-prefix=S %s | 15 // RUN: FileCheck -input-file=%t -check-prefix=S %s |
16 | 16 |
17 // Z-NOT: @z | 17 // Z-NOT: @z |
18 | 18 |
19 // XA: @x = common global i32 0 | 19 // XA: @x = global i32 0 |
20 // XA-NOT: @x = common global i32 0 | 20 // XA-NOT: @x = global i32 0 |
21 | 21 |
22 // YA: @y = common global i32 0 | 22 // YA: @y = global i32 0 |
23 // YA-NOT: @y = common global i32 0 | 23 // YA-NOT: @y = global i32 0 |
24 | 24 |
25 // XB: @x2 = global i32 19 | 25 // XB: @x2 = global i32 19 |
26 // XB-NOT: @x2 = global i32 19 | 26 // XB-NOT: @x2 = global i32 19 |
27 int x2 = 19; | 27 int x2 = 19; |
28 // YB: @y2 = global i32 18 | 28 // YB: @y2 = global i32 18 |
29 // YB-NOT: @y2 = global i32 18 | 29 // YB-NOT: @y2 = global i32 18 |
30 int y2 = 18; | 30 int y2 = 18; |
31 | 31 |
32 // AA: @incomplete_array = common global [1 x i32] | 32 // AA: @incomplete_array = global [1 x i32] |
33 // AA-NOT: @incomplete_array = common global [1 x i32] | 33 // AA-NOT: @incomplete_array = global [1 x i32] |
34 // AB: @incomplete_array2 = common global [17 x i32] | 34 // AB: @incomplete_array2 = global [17 x i32] |
35 // AB-NOT: @incomplete_array2 = common global [17 x i32] | 35 // AB-NOT: @incomplete_array2 = global [17 x i32] |
36 int incomplete_array2[17]; | 36 int incomplete_array2[17]; |
37 // AC: @incomplete_array3 = common global [1 x i32] | 37 // AC: @incomplete_array3 = global [1 x i32] |
38 // AC-NOT: @incomplete_array3 = common global [1 x i32] | 38 // AC-NOT: @incomplete_array3 = global [1 x i32] |
39 int incomplete_array3[]; | 39 int incomplete_array3[]; |
40 | 40 |
41 // S: @s = common global %struct.S | 41 // S: @s = global %struct.S |
42 // S-NOT: @s = common global %struct.S | 42 // S-NOT: @s = global %struct.S |
43 struct S { | 43 struct S { |
44 int x, y; | 44 int x, y; |
45 }; | 45 }; |
46 | 46 |
47 // Z: FINI | 47 // Z: FINI |