bolt/deps/llvm-18.1.8/clang/test/PCH/modulemaps-nomodules.cpp

7 lines
355 B
C++
Raw Normal View History

2025-02-14 19:21:04 +01:00
// Make sure we don't crash when serializing a PCH with an include from a
// modulemap file in nomodules mode.
// No need to pass -fno-modules explicitly, absence implies negation for cc1.
// RUN: %clang_cc1 -I %S/Inputs/modulemaps-nomodules -fmodule-map-file=%S/Inputs/modulemaps-nomodules/module.modulemap %s -emit-pch -o /dev/null
#include "header.h"