netbsd/external/bsd/llvm/dist/clang/test/Modules/direct-module-import.m
2014-01-15 10:53:42 +01:00

8 lines
239 B
Objective-C

// RUN: rm -rf %t
// RUN: %clang_cc1 -fmodules-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();
}