Michael Spencer | d3676d4 | 2021-05-17 09:40:29 +0200 | [diff] [blame] | 1 | // RUN: rm -rf %t && mkdir %t |
| 2 | // |
Jan Svoboda | 27d9a58 | 2022-02-23 14:15:47 +0100 | [diff] [blame] | 3 | // RUN: %clang_cc1 -fmodules -fno-implicit-modules \ |
Michael Spencer | d3676d4 | 2021-05-17 09:40:29 +0200 | [diff] [blame] | 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 \ |
Michael Spencer | d3676d4 | 2021-05-17 09:40:29 +0200 | [diff] [blame] | 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; |