Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
81fe1fbf4abd00b24e078a80cb15a2d2c1343f11
/
.
/
clang
/
test
/
SemaCXX
/
anonymous-union-export.cpp
blob: 1d83d809f52072f27b30ef6758745797e601da8f [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -std=c++17 -fmodules-ts -emit-obj -verify -o %t.pcm %s
export
module M
;
export
{
union
{
bool
a
;
};
// expected-error{{anonymous unions at namespace or global scope must be declared 'static'}}
}