blob: 2de3a69bd679cc61a4a0ed06a316904c9cd09245 (
about) (
plain)
1
2
3
4
5
6
7
|
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
// CHECK: @a = external constan
extern const int a[]; // 'a' should be marked constant even though it's external!
int foo () {
return a[0];
}
|