mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-30 15:45:26 +00:00
eb3cd5e822
llvm-svn: 51695
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; }
|
|
|