1// RUN: rm -rf %t 2// RUN: not %clang_cc1 -fmodules-cache-path=%t -fmodules -F %S/Inputs -DgetModuleVersion="epic fail" %s 2>&1 | FileCheck %s 3 4@import Module; 5@import DependsOnModule; 6 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' 13// CHECK-NOT: error: 14