diff options
Diffstat (limited to 'clang/test/Driver/modules.m')
-rw-r--r-- | clang/test/Driver/modules.m | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Driver/modules.m b/clang/test/Driver/modules.m new file mode 100644 index 0000000..b93054d --- /dev/null +++ b/clang/test/Driver/modules.m @@ -0,0 +1,6 @@ +// 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 + |