1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=irgen -triple x86_64-apple-darwin10 %S/Inputs/module.map
3 // RUN: %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -I %S/Inputs -triple x86_64-apple-darwin10 -emit-llvm -o - %s | FileCheck %s
4 // FIXME: When we have a syntax for modules in C, use that.
5 
6 @import irgen;
7 
8 // CHECK: define void @triple_value
triple_value(int * px)9 void triple_value(int *px) {
10   *px = triple(*px);
11 }
12 
13 // CHECK: define internal i32 @triple(i32
14