[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git] / test / PCH / enum.c
blob10ceb7c60b0a8072bbda27113a638af829f294f8
1 // Test this without pch.
2 // RUN: %clang_cc1 -include %S/enum.h -fsyntax-only -verify %s
4 // Test with pch.
5 // RUN: %clang_cc1 -emit-pch -o %t %S/enum.h
6 // RUN: %clang_cc1 -include-pch %t -fsyntax-only -verify %s
8 int i = Red;
10 int return_enum_constant() {
11 int result = aRoundShape;
12 return result;
15 enum Shape s = Triangle;