summaryrefslogtreecommitdiff
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.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Sema/ast-print.c b/clang/test/Sema/ast-print.c
new file mode 100644
index 0000000..ff66d35
--- /dev/null
+++ b/clang/test/Sema/ast-print.c
@@ -0,0 +1,8 @@
+// RUN: %clang_cc1 %s -ast-print
+
+typedef void func_typedef();
+func_typedef xxx;
+
+typedef void func_t(int x);
+func_t a;
+