blob: 3d6d4dce2b28fd125bd23f1b07da2dee258bbf4a [file] [edit]
// Checks for diagnostics that report incompatibilities between
// -fmodules-driver and other options.
// RUN: split-file %s %t
// RUN: not %clang -std=c++20 -fmodules-driver -fno-modules-reduced-bmi %t/main.cpp -### 2>&1 | FileCheck %s
// CHECK: clang: error: '-fmodules-driver' is currently incompatible with '-fno-modules-reduced-bmi'
//--- main.cpp
int main() {}