mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-25 14:32:53 +00:00
3c280fccf9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95605 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
182 B
C++
17 lines
182 B
C++
// RUN: %llvmgxx -S %s -o - | grep cX
|
|
|
|
namespace C {
|
|
int c = 1;
|
|
namespace {
|
|
int cX = 6;
|
|
void marker2() {
|
|
cX;
|
|
}
|
|
}
|
|
}
|
|
|
|
int main() {
|
|
C::marker2();
|
|
return 0;
|
|
}
|