From 58184f5f0230d15397a598c378ad10833df46307 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 16 Jun 2003 13:16:20 +0000 Subject: [PATCH] New testcase identified by joel 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 | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/C++Frontend/2003-06-16-VolatileError.c diff --git a/test/C++Frontend/2003-06-16-VolatileError.c b/test/C++Frontend/2003-06-16-VolatileError.c new file mode 100644 index 00000000000..127e540646a --- /dev/null +++ b/test/C++Frontend/2003-06-16-VolatileError.c @@ -0,0 +1,5 @@ +/* This crashes the CFE. */ +extern int volatile test; +int volatile test = 0; + +int main() { return 0; }