summaryrefslogtreecommitdiffstats
path: root/lldb/lit/SymbolFile/DWARF/find-basic-namespace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/lit/SymbolFile/DWARF/find-basic-namespace.cpp')
-rw-r--r--lldb/lit/SymbolFile/DWARF/find-basic-namespace.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/lit/SymbolFile/DWARF/find-basic-namespace.cpp b/lldb/lit/SymbolFile/DWARF/find-basic-namespace.cpp
index 393cc7eab76..92485dddd48 100644
--- a/lldb/lit/SymbolFile/DWARF/find-basic-namespace.cpp
+++ b/lldb/lit/SymbolFile/DWARF/find-basic-namespace.cpp
@@ -8,6 +8,14 @@
// RUN: FileCheck --check-prefix=CONTEXT %s
// RUN: lldb-test symbols --name=not_there --find=namespace %t | \
// RUN: FileCheck --check-prefix=EMPTY %s
+//
+// RUN: clang %s -g -c -o %t --target=x86_64-apple-macosx
+// RUN: lldb-test symbols --name=foo --find=namespace %t | \
+// RUN: FileCheck --check-prefix=FOO %s
+// RUN: lldb-test symbols --name=foo --find=namespace --context=context %t | \
+// RUN: FileCheck --check-prefix=CONTEXT %s
+// RUN: lldb-test symbols --name=not_there --find=namespace %t | \
+// RUN: FileCheck --check-prefix=EMPTY %s
// FOO: Found namespace: foo
OpenPOWER on IntegriCloud