Sign in
llvm
/
llvm-project
/
clang
/
96ed5aba818127cde6f6c85106453fca56e8fdc4
/
.
/
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
&);
};