| 1 |
// RUN: %clang_cc1 -fvisibility=default -emit-llvm -o - %s | FileCheck %s |
| 2 |
|
| 3 |
// CHECK-DAG: @g0 = external hidden constant i32 |
| 4 |
// CHECK-DAG: @g1 = hidden constant i32 1 |
| 5 |
|
| 6 |
__private_extern__ const int g0; |
| 7 |
__private_extern__ const int g1 = 1; |
| 8 |
|
| 9 |
int f0(void) { |
| 10 |
return g0; |
| 11 |
} |