summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pch/counter-1.hs
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/pch/counter-1.hs')
-rw-r--r--gcc/testsuite/gcc.dg/pch/counter-1.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pch/counter-1.hs b/gcc/testsuite/gcc.dg/pch/counter-1.hs
new file mode 100644
index 00000000000..c3d2ce7919a
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/pch/counter-1.hs
@@ -0,0 +1,5 @@
+/* Copyright (C) 2007 Free Software Foundation
+ Contributed by Ollie Wild <aaw@google.com> */
+
+static unsigned offset[] = {__COUNTER__, __COUNTER__, __COUNTER__};
+#define counter __COUNTER__