brintos

brintos / llvm-project-archived public Read only

0
0
Text · 616 B · a1e07eb Raw
15 lines · c
1// REQUIRES: x86-registered-target2// RUN: rm -rf %t3// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=irgen -triple x86_64-apple-darwin10 %S/Inputs/module.modulemap4// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -I %S/Inputs -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s5// FIXME: When we have a syntax for modules in C, use that.6 7@import irgen;8 9// CHECK: define{{.*}} void @triple_value10void triple_value(int *px) {11  *px = triple(*px);12}13 14// CHECK: define internal i32 @triple(i3215