Mercurial > hg > CbC > CbC_llvm
annotate clang/test/Modules/epic-fail.m @ 252:1f2b6ac9f198 llvm-original
LLVM16-1
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Aug 2023 09:04:13 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 1 // RUN: rm -rf %t |
2 // RUN: not %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -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 | |
252 | 9 // CHECK: note: expanded from macro 'getModuleVersion' |
150 | 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: |