Author: lattner Date: Wed Oct 3 00:29:07 2007 New Revision: 42570 URL: http://llvm.org/viewvc/llvm-project?rev=42570&view=rev Log: testcase for PR1647
Added: llvm/trunk/test/CFrontend/2007-10-02-VolatileArray.c Added: llvm/trunk/test/CFrontend/2007-10-02-VolatileArray.c URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/2007-10-02-VolatileArray.c?rev=42570&view=auto ============================================================================== --- llvm/trunk/test/CFrontend/2007-10-02-VolatileArray.c (added) +++ llvm/trunk/test/CFrontend/2007-10-02-VolatileArray.c Wed Oct 3 00:29:07 2007 @@ -0,0 +1,7 @@ +// RUN: %llvmgcc -S %s -o - | grep volatile +// PR1647 + +void foo(volatile int *p) +{ +p[0] = 0; +} _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits