1// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s 2 3// CHECK-NOT: constant 4extern int X; 5const int Y = X; 6const int* foo() { return &Y; } 7