xref: /llvm-project/clang/test/SemaCXX/PR57778.cpp (revision 762962174e3adab1a0d744fe2636d4d9fb373c53)
1 // RUN: %clang_cc1 -std=c++20 -fmodule-name=test -fsyntax-only %s -verify
2 // expected-no-diagnostics
3 
4 // Ensure that we won't crash if we specified `-fmodule-name` in `c++20`
5 // for a non module unit.
6 int a;
7