2 // RUN: not %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -F %S/Inputs -DgetModuleVersion="epic fail" %s 2>&1 | FileCheck %s
5 @import DependsOnModule;
7 // CHECK: While building module 'Module' imported from
8 // CHECK: error: expected ';' after top level declarator
9 // CHECK: note: expanded from here
10 // CHECK: fatal error: could not build module 'Module'
11 // CHECK: While building module 'DependsOnModule' imported from
12 // CHECK: fatal error: could not build module 'Module'