forked from OSchip/llvm-project
7 lines
123 B
C++
7 lines
123 B
C++
|
// RUN: %llvmgcc -xc++ -S -o - %s | not grep { constant }
|
||
|
|
||
|
extern int X;
|
||
|
const int Y = X;
|
||
|
const int* foo() { return &Y; }
|
||
|
|