Testcase for PR204

llvm-svn: 10769
This commit is contained in:
Chris Lattner 2004-01-12 05:01:48 +00:00
parent 950b713d22
commit e0536857aa
1 changed files with 6 additions and 0 deletions

View File

@ -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; }