mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 00:16:05 +00:00
5 lines
268 B
C++
5 lines
268 B
C++
|
|
// RUN: rm -rf %t
|
|
// RUN: %clang_cc1 -std=c++20 -fmodules -fmodules-cache-path=%t -fimplicit-module-maps -I%S/Inputs -verify %s
|
|
export import dummy; // expected-error {{export declaration can only be used within a module interface unit after the module declaration}}
|