☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
Modules
/
cxx20-10-2-ex3.cpp
☽
☼
clang/test/Modules/cxx20-10-2-ex3.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// Based on C++20 10.2 example 3.
2
3
// RUN: %clang_cc1 -std=c++20 -emit-module-interface %s -o %t
4
5
export module M;
6
struct S;
7
export using T = S; // OK, exports name T denoting type S
8
9
// expected-no-diagnostics