13 lines · c
1// Test this without pch.2// RUN: %clang_cc1 -fblocks -include %S/blocks.h -emit-llvm -o - %s3 4// Test with pch.5// RUN: %clang_cc1 -emit-pch -fblocks -o %t %S/blocks.h6// RUN: %clang_cc1 -fblocks -include-pch %t -emit-llvm -o - %s 7 8int do_add(int x, int y) { return add(x, y); }9 10int do_scaled_add(int a, int b, int s) {11 return scaled_add(a, b, s);12}13