1 // RUN: rm -rf %t
2 // RUN: mkdir %t
3 
4 // RUN: %clang_cc1 -x c++-header %s -emit-pch -o %t/a.pch
5 // RUN: %clang_cc1 -x c++-header %s -emit-pch -o %t/b.pch
6 // RUN: cmp %t/a.pch %t/b.pch
7 
8 #pragma float_control(push)
fp_control_0(double x)9 double fp_control_0(double x) {
10   return -x + x;
11 }
12 
fp_control_1(double x)13 double fp_control_1(double x) {
14 #pragma float_control(precise, on)
15   return -x + x;
16 }
17 
fp_control_2(double x)18 double fp_control_2(double x) {
19 #pragma float_control(precise, off)
20   return -x + x;
21 }
22 #pragma float_control(pop)
23