xref: /llvm-project/clang/test/PCH/modulemaps-nomodules.cpp (revision 4d0cfa6d09e2a84cceb669949d72df58c031a8c5)
1 // Make sure we don't crash when serializing a PCH with an include from a
2 // modulemap file in nomodules mode.
3 // No need to pass -fno-modules explicitly, absence implies negation for cc1.
4 // RUN: %clang_cc1 -I %S/Inputs/modulemaps-nomodules -fmodule-map-file=%S/Inputs/modulemaps-nomodules/module.modulemap %s -emit-pch -o /dev/null
5 
6 #include "header.h"
7