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