llvm-for-llvmta/tools/clang/test/SemaCXX/cxx20-constinit.cpp

5 lines
112 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 %s -std=c++20 -verify
// expected-no-diagnostics
constinit int a __attribute__((weak)) = 0;