- There is no reason to have a modules specific flag for disabling autolinking. Instead, convert the existing flag into -fno-autolink (which should cover other autolinking code generation paths like #pragmas if and when we support them). llvm-svn: 179612
7 lines
274 B
Matlab
7 lines
274 B
Matlab
// RUN: %clang -fmodules -fno-modules -### %s 2>&1 | FileCheck -check-prefix=CHECK-NO-MODULES %s
|
|
// CHECK-NO-MODULES-NOT: -fmodules
|
|
|
|
// RUN: %clang -fmodules -fno-modules -fmodules -### %s 2>&1 | FileCheck -check-prefix=CHECK-HAS-MODULES %s
|
|
// CHECK-HAS-MODULES: -fmodules
|
|
|