repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[flang][cuda] Do not register global constants (#118582)
[llvm-project.git]
/
clang
/
test
/
Modules
/
export-in-another-export.cppm
blob
38cb4d6c4a8c64731c5d42777e6e30b92ba4a64d
1
// RUN: %clang_cc1 -std=c++20 %s -fsyntax-only -verify
2
export module M;
3
export { // expected-note {{export block begins here}}
4
export int foo() { return 43; } // expected-error {{export declaration appears within another export declaration}}
5
}