☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
Modules
/
export-in-non-modules.cpp
☽
☼
clang/test/Modules/export-in-non-modules.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
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 interface}}
3
bool operator<(const Unit &);
4
};