aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/pch-used.m
blob: 56961ba404cc4d50a86849f782d3bd929ce87192 (plain) (blame)
1
2
3
4
5
6
7
8
// RUN: rm -rf %t
// RUN: mkdir %t
// RUN: %clang_cc1 -x objective-c-header -emit-pch %S/Inputs/pch-used.h -o %t/pch-used.h.pch -fmodules -fmodules-cache-path=%t/cache -O0 -isystem %S/Inputs/System/usr/include
// RUN: %clang_cc1 %s -include-pch %t/pch-used.h.pch -fmodules -fmodules-cache-path=%t/cache -O0 -isystem %S/Inputs/System/usr/include -emit-llvm -o - | FileCheck %s

void f() { SPXTrace(); }

// CHECK: define internal void @SPXTrace