[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / cross-project-tests / debuginfo-tests / dexter-tests / namespace.cpp
blobfa8942183ada88d90a8ce30ca637233634df88a9
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: %dexter --fail-lt 1.0 -w \
9 // RUN: --builder 'clang' --debugger 'lldb' \
10 // RUN: --cflags "-g -O0" -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'))