diff --git a/clang/test/Driver/debug-options.c b/clang/test/Driver/debug-options.c index ca77abf9fd309554916f6748c2a255a8c5d8144e..aad97d42c686d2d85c36bd2f52ba3e9649712ab3 100644 --- a/clang/test/Driver/debug-options.c +++ b/clang/test/Driver/debug-options.c @@ -21,8 +21,8 @@ // RUN: | FileCheck -check-prefix=GLTO_NO %s // // RUN: %clang -### -c -grecord-gcc-switches -gno-record-gcc-switches \ -// RUN: -gstrict-dwarf -gno-strict-dwarf %s 2>&1 \ -// RUN: | not grep "argument unused during compilation" +// RUN: -gstrict-dwarf -gno-strict-dwarf %s 2>&1 \ +// RUN: | FileCheck -check-prefix=GIGNORE %s // // G: "-cc1" // G: "-g" @@ -42,3 +42,5 @@ // // GLTO_NO: "-cc1" // GLTO_NO-NOT: "-gline-tables-only" +// +// GIGNORE-NOT: "argument unused during compilation"