// RUN: %clang_cc1 %s -DNS=std -emit-llvm -triple %itanium_abi_triple -o - | FileCheck %s --check-prefix=CHECK-STD // RUN: %clang_cc1 %s -DNS=n -emit-llvm -triple %itanium_abi_triple -o - | FileCheck %s --check-prefix=CHECK-N // _ZNSt1DISt1CE1iE = std::D::i // CHECK-STD: @_ZNSt1DISt1CE1iE = // _ZN1n1DINS_1CEE1iE == n::D::i // CHECK-N: @_ZN1n1DINS_1CEE1iE = namespace NS { extern "C" { class C { }; } template class D { public: static int i; }; } int f() { return NS::D::i; }