Sign in
android
/
toolchain
/
rustc
/
87880447cc5437c45a3562596a9766d9797e7318
/
.
/
src
/
llvm-project
/
clang
/
test
/
Modules
/
export-in-another-export.cppm
blob: 38cb4d6c4a8c64731c5d42777e6e30b92ba4a64d [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -std=c++20 %s -fsyntax-only -verify
export
module
M
;
export
{
// expected-note {{export block begins here}}
export
int
foo
()
{
return
43
;
}
// expected-error {{export declaration appears within another export declaration}}
}