Fix up test to handle the now split -fmodules-codegen and -fmodules-debuginfo flags
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 12 Apr 2017 21:09:34 +0000 (21:09 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 12 Apr 2017 21:09:34 +0000 (21:09 +0000)
llvm-svn: 300105

clang/test/Modules/codegen-nodep.test

index 0c3eb47..9b718ca 100644 (file)
@@ -1,8 +1,8 @@
 RUN: rm -rf %t
 REQUIRES: x86-registered-target
 
-RUN: %clang_cc1 -triple=x86_64-linux-gnu -fmodules-codegen -x c++ -fmodules \
-RUN:            -emit-module -fmodule-name=foo \
+RUN: %clang_cc1 -triple=x86_64-linux-gnu -fmodules-codegen -fmodules-debuginfo \
+RUN:            -x c++ -fmodules -emit-module -fmodule-name=foo \
 RUN:            %S/Inputs/codegen-nodep/foo.modulemap -o - \
 RUN:          | llvm-bcanalyzer - -dump \
 RUN:          | FileCheck %s