1 // RUN: clang-cc -emit-llvm %s -o %t &&
2 namespace foo {
3
4 // RUN: not grep "@a = global i32" %t &&
5 extern "C" int a;
6
7 // RUN: not grep "@_ZN3foo1bE = global i32" %t &&
8 extern int b;
9
10 // RUN: grep "@_ZN3foo1cE = global i32" %t | count 1
11 int c = 5;
12
13 }
14