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