llvm-project/clang/test/Modules/cxx20-10-2-ex3.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
211 B
C++
Raw Normal View History

// 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