
The test case otherwise fails an assertion in Diagnostic::getArgKind(). Differential Revision: https://reviews.llvm.org/D116595
4 lines
250 B
C++
4 lines
250 B
C++
|
|
// 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}}
|