blob: ec4d507fcb52d45115b3aad14b872a5a12b2729a [file] [log] [blame]
Douglas Gregor7fde6512012-01-03 21:12:26 +00001// RUN: %clang_cc1 -E -fmodules %s -o - | FileCheck --check-prefix=CHECK-HAS-MODULES %s
2// RUN: %clang_cc1 -E %s -o - | FileCheck --check-prefix=CHECK-NO-MODULES %s
3
4#if __has_feature(objc_modules)
5int has_modules();
6#else
7int no_modules();
8#endif
9
10// CHECK-HAS-MODULES: has_modules
11// CHECK-NO-MODULES: no_modules