1 // RUN: %clangxx %target_itanium_abi_host_triple -O0 -g %s -c -o %t.o
2 // RUN: %test_debuginfo %s %t.o
3 // XFAIL: !system-darwin && gdb-clang-incompatibility
5 // If debug info for my_number() is emitted outside function foo's scope
6 // then a debugger may not be able to handle it. At least one version of
7 // gdb crashes in such cases.
14 static int my_number() {
20 i
= Local::my_number();