1 // Test without serialization:
2 // RUN: %clang_cc1 -triple x86_64-pc-linux -ast-dump %s \
3 // RUN: | FileCheck --strict-whitespace %s
5 // Test with serialization:
6 // RUN: %clang_cc1 -triple x86_64-pc-linux -emit-pch -o %t %s
7 // RUN: %clang_cc1 -x objective-c -triple x86_64-pc-linux -include-pch %t -ast-dump-all /dev/null \
8 // RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
9 // RUN: | FileCheck --strict-whitespace %s
13 - (float) sum: (float)x with: (float)y __attribute((optnone));
16 #pragma float_control(precise, off)
19 - (float) sum: (float)x with: (float)y __attribute((optnone)) {
25 // CHECK-LABEL: ObjCImplementationDecl {{.*}} Adder
26 // CHECK: ObjCMethodDecl {{.*}} - sum:with: 'float'
27 // CHECK: CompoundStmt {{.*}} FPContractMode=1 MathErrno=1
28 // CHECK-NEXT: ReturnStmt
29 // CHECK-NEXT: BinaryOperator {{.*}} 'float' '+' FPContractMode=1 MathErrno=1