summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Driver/debug-options.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Driver/debug-options.c b/test/Driver/debug-options.c
index b55f2ccb66..830305ad45 100644
--- a/test/Driver/debug-options.c
+++ b/test/Driver/debug-options.c
@@ -77,6 +77,9 @@
//
// RUN: %clang -### -g %s 2>&1 | FileCheck -check-prefix=CI %s
//
+// RUN: %clang -### -gmodules %s 2>&1 \
+// RUN: | FileCheck -check-prefix=GEXTREFS %s
+//
// G: "-cc1"
// G: "-g"
//
@@ -126,3 +129,5 @@
// CI: "-dwarf-column-info"
//
// NOCI-NOT: "-dwarf-column-info"
+//
+// GEXTREFS: "-g" "-dwarf-ext-refs" "-fmodule-format=obj"