Sign in
llvm
/
llvm-project
/
clang
/
ee4c100458865ed8031c125ec4bd1c7d71caf5bf
/
.
/
test
/
Misc
/
serialized-diags-emit-header-module-misconfig.c
blob: 8629f293b18b9f12af03e04555b01cf0a447e7c5 [
file
] [
log
] [
blame
]
// RUN: rm -rf %t && mkdir %t
// RUN: not %clang_cc1 -emit-header-module %s -o %t/out.pcm -serialize-diagnostic-file %t/diag 2>&1 | FileCheck %s
// CHECK: error: header module compilation requires '-fmodules', '-std=c++20', or '-fmodules-ts'