1 | // RUN: rm -rf %t |
2 | // RUN: mkdir %t |
3 | // RUN: %clang_cc1 -x objective-c-header -emit-pch %S/Inputs/pch-used.h -o %t/pch-used.h.pch -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache -O0 -isystem %S/Inputs/System/usr/include |
4 | // RUN: %clang_cc1 %s -include-pch %t/pch-used.h.pch -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache -O0 -isystem %S/Inputs/System/usr/include -emit-llvm -o - | FileCheck %s |
5 | |
6 | void f() { SPXTrace(); } |
7 | void g() { double x = DBL_MAX; } |
8 | |
9 | // CHECK: define internal {{.*}}void @SPXTrace |
10 | |