aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/20010114-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.c-torture/compile/20010114-2.c')
-rw-r--r--gcc-4.9/gcc/testsuite/gcc.c-torture/compile/20010114-2.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/20010114-2.c b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/20010114-2.c
new file mode 100644
index 000000000..75f5ea20e
--- /dev/null
+++ b/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/20010114-2.c
@@ -0,0 +1,6 @@
+/* Origin: <URL:http://gcc.gnu.org/ml/gcc-patches/2000-12/msg01384.html>
+ from Fred Fish <fnf@geekgadgets.org>. See also PR c/1625. */
+
+#include <stdbool.h>
+
+struct { int x; bool y; } foo = { 0, false };