In the latest episode of "Deserializing bugs caused by accessors" the series reached...
[clang.git] / test / PCH / blocks.c
blobe7498865bd88cafbb655a8ebabf36d72d0a0039f
1 // Test this without pch.
2 // RUN: %clang_cc1 -fblocks -include %S/blocks.h -fsyntax-only -emit-llvm -o - %s
4 // Test with pch.
5 // RUN: %clang_cc1 -emit-pch -fblocks -o %t %S/blocks.h
6 // RUN: %clang_cc1 -fblocks -include-pch %t -fsyntax-only -emit-llvm -o - %s
8 int do_add(int x, int y) { return add(x, y); }
10 int do_scaled_add(int a, int b, int s) {
11 return scaled_add(a, b, s);