summaryrefslogtreecommitdiff
path: root/clang/test/PCH/enum.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/PCH/enum.h')
-rw-r--r--clang/test/PCH/enum.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/clang/test/PCH/enum.h b/clang/test/PCH/enum.h
new file mode 100644
index 0000000..7dc4e63
--- /dev/null
+++ b/clang/test/PCH/enum.h
@@ -0,0 +1,16 @@
+/* Used in enum.c test */
+
+enum Color {
+ Red,
+ Green,
+ Blue
+};
+
+enum Shape {
+ Square,
+ Triangle = 17,
+ Rhombus,
+ Circle
+};
+
+enum Shape aRoundShape = Circle;