Sign in
llvm
/
llvm-project
/
clang
/
5b1530bf8f46618163739989ee0fbd0e1c356b1a
/
.
/
test
/
Modules
/
export-in-non-modules.cpp
blob: c10d863d27005cda4aa7489e61c79fbcca2158d7 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -std=c++20 %s -fsyntax-only -verify
export
struct
Unit
{
// expected-error {{export declaration can only be used within a module interface unit after the module declaration}}
bool
operator
<(
const
Unit
&);
};