bolt/deps/llvm-18.1.8/clang/test/SemaCXX/PR57778.cpp

7 lines
208 B
C++
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: %clang_cc1 -std=c++20 -fmodule-name=test -fsyntax-only %s -verify
// expected-no-diagnostics
// Ensure that we won't crash if we specified `-fmodule-name` in `c++20`
// for a non module unit.
int a;