forked from OSchip/llvm-project
parent
950b713d22
commit
e0536857aa
|
@ -0,0 +1,6 @@
|
|||
// RUN: %llvmgcc -xc++ -S -o - %s | not grep ' constant '
|
||||
|
||||
extern int X;
|
||||
const int Y = X;
|
||||
const int* foo() { return &Y; }
|
||||
|
Loading…
Reference in New Issue