blob: d1cd5636b89a0f510d05a2d1e6b9dbaa2fd9f69c [file] [log] [blame]
Douglas Gregor0b748912009-04-14 21:18:50 +00001// Test this without pch.
2// RUN: clang-cc -fblocks -include %S/exprs.h -fsyntax-only -verify %s
3
4// Test with pch.
5// RUN: clang-cc -emit-pch -fblocks -o %t %S/exprs.h &&
6// RUN: clang-cc -fblocks -include-pch %t -fsyntax-only -verify %s
7
8int integer;
9long long_integer;
10
11// DeclRefExpr
12int_decl_ref *int_ptr1 = &integer;
13enum_decl_ref *enum_ptr1 = &integer;
14// IntegerLiteralExpr
15integer_literal *int_ptr2 = &integer;
16long_literal *long_ptr1 = &long_integer;
17
18// CharacterLiteralExpr
19char_literal *int_ptr3 = &integer;