exprs.c revision 0b7489194f9f89fac39d57211c1e7953ae50251f
10b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregor// Test this without pch. 20b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregor// RUN: clang-cc -fblocks -include %S/exprs.h -fsyntax-only -verify %s 30b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregor 40b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregor// Test with pch. 50b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregor// RUN: clang-cc -emit-pch -fblocks -o %t %S/exprs.h && 60b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregor// RUN: clang-cc -fblocks -include-pch %t -fsyntax-only -verify %s 70b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregor 80b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregorint integer; 90b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregorlong long_integer; 100b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregor 110b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregor// DeclRefExpr 120b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregorint_decl_ref *int_ptr1 = &integer; 130b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregorenum_decl_ref *enum_ptr1 = &integer; 140b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregor// IntegerLiteralExpr 150b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregorinteger_literal *int_ptr2 = &integer; 160b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregorlong_literal *long_ptr1 = &long_integer; 170b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregor 180b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregor// CharacterLiteralExpr 190b7489194f9f89fac39d57211c1e7953ae50251fDouglas Gregorchar_literal *int_ptr3 = &integer; 20