Skip to content

Commit 43d2e10

Browse files
committed
add base test case
1 parent ca00cb3 commit 43d2e10

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/test/3C/qualifiers.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,13 @@ void mixed() {
5555

5656
struct qualifier_struct { int *a; };
5757
void structs() {
58+
struct qualifier_struct a0;
5859
static struct qualifier_struct a;
5960
volatile static struct qualifier_struct b;
6061
const static struct qualifier_struct *c;
6162
const extern struct qualifier_struct d;
6263
}
64+
//CHECK: struct qualifier_struct a0 = {};
6365
//CHECK: static struct qualifier_struct a = {};
6466
//CHECK: static volatile struct qualifier_struct b = {};
6567
//CHECK: static _Ptr<const struct qualifier_struct> c = ((void *)0);

0 commit comments

Comments
 (0)