token. This is important because the first token could actually be after an #include that triggers a module import, which might use either Sema or the AST consumer before it would have been initialized. llvm-svn: 167423
8 lines
238 B
Objective-C
8 lines
238 B
Objective-C
// RUN: rm -rf %t
|
|
// RUN: %clang_cc1 -fmodule-cache-path %t -fmodules -F %S/Inputs -include Module/Module.h %s -emit-llvm -o - | FileCheck %s
|
|
|
|
// CHECK: call i8* @getModuleVersion
|
|
const char* getVer(void) {
|
|
return getModuleVersion();
|
|
}
|