Reid Spencer | 358f327 | 2007-04-15 20:41:31 +0000 | [diff] [blame] | 1 | // RUN: %llvmgcc -xc++ -S -o - %s | not grep { constant } |
Chris Lattner | 20cd43b | 2004-01-12 05:01:48 +0000 | [diff] [blame] | 2 | |
3 | extern int X; | ||||
4 | const int Y = X; | ||||
5 | const int* foo() { return &Y; } | ||||
6 |