New testcase identified by joel
authorChris Lattner <sabre@nondot.org>
Mon, 16 Jun 2003 13:16:20 +0000 (13:16 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 16 Jun 2003 13:16:20 +0000 (13:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6708 91177308-0d34-0410-b5e6-96231b3b80d8

test/C++Frontend/2003-06-16-VolatileError.c [new file with mode: 0644]

diff --git a/test/C++Frontend/2003-06-16-VolatileError.c b/test/C++Frontend/2003-06-16-VolatileError.c
new file mode 100644 (file)
index 0000000..127e540
--- /dev/null
@@ -0,0 +1,5 @@
+/* This crashes the CFE.  */
+extern int volatile test;
+int volatile test = 0;
+
+int main() { return 0; }