mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-05 01:01:45 +00:00
testcase for PR1647
llvm-svn: 42570
This commit is contained in:
parent
21b1f72d4c
commit
cd424fc6c2
7
test/CFrontend/2007-10-02-VolatileArray.c
Normal file
7
test/CFrontend/2007-10-02-VolatileArray.c
Normal file
@ -0,0 +1,7 @@
|
||||
// RUN: %llvmgcc -S %s -o - | grep volatile
|
||||
// PR1647
|
||||
|
||||
void foo(volatile int *p)
|
||||
{
|
||||
p[0] = 0;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user