7 lines · cpp
1// RUN: %clang_cc1 -std=c++20 -fmodule-name=test -fsyntax-only %s -verify2// expected-no-diagnostics3 4// Ensure that we won't crash if we specified `-fmodule-name` in `c++20`5// for a non module unit.6int a;7 1// RUN: %clang_cc1 -std=c++20 -fmodule-name=test -fsyntax-only %s -verify2// expected-no-diagnostics3 4// Ensure that we won't crash if we specified `-fmodule-name` in `c++20`5// for a non module unit.6int a;7