summaryrefslogtreecommitdiffstats
path: root/test/PCH/enum.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/PCH/enum.h')
-rw-r--r--test/PCH/enum.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/PCH/enum.h b/test/PCH/enum.h
new file mode 100644
index 0000000..7dc4e63
--- /dev/null
+++ b/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;
OpenPOWER on IntegriCloud