summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/ast-print.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/ast-print.c')
-rw-r--r--clang/test/Sema/ast-print.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Sema/ast-print.c b/clang/test/Sema/ast-print.c
index b0e421410b2..4c0aef5b2f3 100644
--- a/clang/test/Sema/ast-print.c
+++ b/clang/test/Sema/ast-print.c
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 %s -ast-print | FileCheck %s
+// RUN: %clang_cc1 %s -ast-print | %clang_cc1 -fsyntax-only -
typedef void func_typedef();
func_typedef xxx;
@@ -39,6 +40,7 @@ int rvarr(int n, int a[restrict static n]) {
return a[2];
}
+// CHECK: typedef struct {
typedef struct {
int f;
} T __attribute__ ((__aligned__));
OpenPOWER on IntegriCloud