aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/gcc/testsuite/gcc.dg/cpp/syshdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8/gcc/testsuite/gcc.dg/cpp/syshdr.h')
-rw-r--r--gcc-4.8/gcc/testsuite/gcc.dg/cpp/syshdr.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc-4.8/gcc/testsuite/gcc.dg/cpp/syshdr.h b/gcc-4.8/gcc/testsuite/gcc.dg/cpp/syshdr.h
new file mode 100644
index 000000000..3f546aa52
--- /dev/null
+++ b/gcc-4.8/gcc/testsuite/gcc.dg/cpp/syshdr.h
@@ -0,0 +1,10 @@
+/* Indented to avoid "suggest hiding ..." warnings. */
+ #pragma GCC system_header
+
+#define sys_uint 1U
+#define sys_str(x) x
+#define sys_foo(x, y...) bar (x, ##y)
+
+#define sys_uint 1U
+#define sys_fl 1.0f
+#define sys_ld 1.0L