[JITLink][LoongArch] Support R_LARCH_ALIGN relaxation (#122259)
[llvm-project.git] / lldb / test / API / lang / cpp / namespace_conflicts / main.cpp
blob525b45d37ef52720236d02ed0a3a33524dbac532
1 namespace n {
2 struct D {
3 int i;
4 static int anInt() { return 2; }
5 int dump() { return i; }
6 };
9 using namespace n;
11 int foo(D* D) {
12 return D->dump(); //% self.expect("expression -- D->dump()", DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ["int", "2"])
15 int main (int argc, char const *argv[])
17 D myD { D::anInt() };
18 foo(&myD);
19 return 0;