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
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Modules
/
export-in-non-modules.cpp
blob
69360eb46d7742f27995131d1f4e8bbebc783181
1
// RUN: %clang_cc1 -std=c++20 %s -fsyntax-only -verify
2
export
struct
Unit
{
// expected-error {{export declaration can only be used within a module purview}}
3
bool
operator
<(
const
Unit
&);
4
};