aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Modules/cxx20-10-2-ex3.cpp
blob: f9b515e869bf506110cf53fae6f08be732d74c1f (plain)
1
2
3
4
5
6
7
8
9
// Based on C++20 10.2 example 3.

// RUN: %clang_cc1 -std=c++20 -emit-module-interface %s -o %t

export module M;
struct S;
export using T = S; // OK, exports name T denoting type S

// expected-no-diagnostics