1 // RUN: %clang_cc1 -std=c++20 -emit-module-interface %s -o %t.pcm -verify
2 // RUN: %clang_cc1 -std=c++20 -emit-module-interface %s -o %t.pcm -verify -DERRORS
6 // expected-no-diagnostics
8 // FIXME: diagnose missing module-declaration when building module interface
10 // FIXME: proclaimed-ownership-declarations?
26 export int n; // expected-error {{expected member name or ';'}}
27 export static int n; // expected-error {{expected member name or ';'}}
30 export int n; // expected-error {{expected expression}}