mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
Make modules.m test portable, now that autolinking is dependent on whether or not the target uses the integrated assembler.
llvm-svn: 176902
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// RUN: %clang -fmodules -fno-modules -fmodules -### %s 2>&1 | FileCheck -check-prefix=CHECK-HAS-MODULES %s
|
||||
// CHECK-HAS-MODULES: -fmodules
|
||||
|
||||
// RUN: %clang -fmodules -fno-modules -fmodules -### %s 2>&1 | FileCheck -check-prefix=CHECK-HAS-AUTOLINK %s
|
||||
// RUN: %clang -target x86_64-apple-darwin10 -fmodules -fno-modules -fmodules -### %s 2>&1 | FileCheck -check-prefix=CHECK-HAS-AUTOLINK %s
|
||||
// CHECK-HAS-AUTOLINK: -fmodules-autolink
|
||||
|
||||
// RUN: %clang -fmodules -fno-modules -fno-modules-autolink -fmodules -### %s 2>&1 | FileCheck -check-prefix=CHECK-NO-AUTOLINK %s
|
||||
|
||||
Reference in New Issue
Block a user