aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Modules/pr99825.cppm
blob: fe6541c6e68e50618ba9802ea120067998af46cd (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -std=c++20 %s -fsyntax-only -verify
// expected-no-diagnostics
export module mod;

extern "C++"
{
    export constexpr auto x = 10;
}