| // RUN: %clang_cc1 -std=c++1z -fmodules-ts -emit-module-interface %s -o %t.pcm -verify |
| // RUN: %clang_cc1 -std=c++1z -fmodules-ts -emit-module-interface %s -o %t.pcm -verify -DERRORS |
| // expected-no-diagnostics |
| // FIXME: diagnose missing module-declaration when building module interface |
| // FIXME: proclaimed-ownership-declarations? |
| export int n; // expected-error {{expected member name or ';'}} |
| export static int n; // expected-error {{expected member name or ';'}} |
| export int n; // expected-error {{expected expression}} |