Sign in
llvm
/
llvm-project
/
edad89e4e052b0b7d0fe4943669b3b7c55d837a4
/
.
/
clang
/
test
/
Modules
/
export-in-non-modules.cpp
blob: 7b2575c60f1fdd49ba96b0817bb12cf5d535530f [
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}}
bool
operator
<(
const
Unit
&);
};