summaryrefslogtreecommitdiffstats
path: root/test/input/invalid.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-03-06 19:37:38 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-24 15:37:20 (GMT)
commit4c2326f24a266c2ee7b88b50c5655fb2edbd082c (patch)
treee7fb3ec83ebc53519472a59dfab253bfbc8ebb17 /test/input/invalid.c
parentdc4d4e2dcdbf6464c864d7fa49e2da3a04cd3e76 (diff)
downloadCastXML-4c2326f24a266c2ee7b88b50c5655fb2edbd082c.zip
CastXML-4c2326f24a266c2ee7b88b50c5655fb2edbd082c.tar.gz
CastXML-4c2326f24a266c2ee7b88b50c5655fb2edbd082c.tar.bz2
test: Add cases for C-mode gccxml-like output
Although gccxml did not support C, it was occasionally requested. The gccxml output format supports C and Clang can easily handle parsing it. Add test cases that verify Clang can parse sources as C code and not C++.
Diffstat (limited to 'test/input/invalid.c')
-rw-r--r--test/input/invalid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/input/invalid.c b/test/input/invalid.c
new file mode 100644
index 0000000..2e739ef
--- /dev/null
+++ b/test/input/invalid.c
@@ -0,0 +1 @@
+class start;