4 // RUN: split-file %s %t
6 // RUN: %clang_cc1 -std=c++20 %t/dummy.cppm -emit-module-interface -o %t/dummy.pcm
7 // RUN: %clang_cc1 -std=c++20 -fprebuilt-module-path=%t -verify %t/test.cpp
14 export import dummy
; // expected-error {{export declaration can only be used within a module purview}}