summaryrefslogtreecommitdiffstats
path: root/test/Sema/ast-print.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/ast-print.c')
-rw-r--r--test/Sema/ast-print.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Sema/ast-print.c b/test/Sema/ast-print.c
new file mode 100644
index 0000000..a8988b0
--- /dev/null
+++ b/test/Sema/ast-print.c
@@ -0,0 +1,8 @@
+// RUN: clang-cc %s -ast-print
+
+typedef void func_typedef();
+func_typedef xxx;
+
+typedef void func_t(int x);
+func_t a;
+
OpenPOWER on IntegriCloud