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