1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-01-27 14:34:58 +00:00
llvm-6502/test/C++Frontend/2004-01-11-DynamicInitializedConstant.cpp.tr
Chris Lattner 20cd43b2f6 Testcase for PR204
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10769 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-12 05:01:48 +00:00

7 lines
123 B
Plaintext

// RUN: %llvmgcc -xc++ -S -o - %s | not grep ' constant '
extern int X;
const int Y = X;
const int* foo() { return &Y; }