[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / cross-project-tests / debuginfo-tests / dexter-tests / namespace.cpp
blobc94939157ff7e4121ef308757226ed40be5eefef
1 // Purpose:
2 // Ensure that the debug information for a global variable includes
3 // namespace information.
5 // REQUIRES: lldb
6 // UNSUPPORTED: system-windows
8 // RUN: %clang -g -O0 %s -o %t
9 // RUN: %dexter --fail-lt 1.0 -w \
10 // RUN: --binary %t --debugger 'lldb' -v -- %s
12 #include <stdio.h>
14 namespace monkey {
15 const int ape = 32;
18 int main() {
19 printf("hello %d\n", monkey::ape); // DexLabel('main')
20 return 0;
23 // DexExpectWatchValue('monkey::ape', 32, on_line=ref('main'))