xref: /llvm-project/clang/test/Modules/explicit-build-inferred.cpp (revision 27d9a58407c44c8bb3fe7b94ff8d3b9bea25afc4)
1 // RUN: rm -rf %t && mkdir %t
2 //
3 // RUN: %clang_cc1 -fmodules -fno-implicit-modules \
4 // RUN:   -emit-module -x c++ %S/Inputs/explicit-build-inferred/frameworks/module.modulemap \
5 // RUN:   -fmodule-name=Inferred -o %t/Inferred.pcm -F %S/Inputs/explicit-build-inferred/frameworks
6 //
7 // RUN: %clang_cc1 -fmodules -fno-implicit-modules -fsyntax-only %s \
8 // RUN:   -fmodule-file=%t/Inferred.pcm -F %S/Inputs/explicit-build-inferred/frameworks
9 
10 #include <Inferred/Inferred.h>
11 
12 inferred a = 0;
13