diff options
Diffstat (limited to 'test/Sema/ast-print.c')
| -rw-r--r-- | test/Sema/ast-print.c | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/test/Sema/ast-print.c b/test/Sema/ast-print.c index 4b2b43190d42..b4d76844fef7 100644 --- a/test/Sema/ast-print.c +++ b/test/Sema/ast-print.c @@ -45,3 +45,11 @@ typedef struct {  // CHECK: struct __attribute__((visibility("default"))) S;  struct __attribute__((visibility("default"))) S; + +struct pair_t { +  int a; +  int b; +}; + +// CHECK: struct pair_t p = {a: 3, .b = 4}; +struct pair_t p = {a: 3, .b = 4}; | 
