summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/usr.bin/xlint/lint1/d_gcc_compound_statements1.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/netbsd-tests/usr.bin/xlint/lint1/d_gcc_compound_statements1.c')
-rw-r--r--contrib/netbsd-tests/usr.bin/xlint/lint1/d_gcc_compound_statements1.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/usr.bin/xlint/lint1/d_gcc_compound_statements1.c b/contrib/netbsd-tests/usr.bin/xlint/lint1/d_gcc_compound_statements1.c
new file mode 100644
index 0000000..d970be1
--- /dev/null
+++ b/contrib/netbsd-tests/usr.bin/xlint/lint1/d_gcc_compound_statements1.c
@@ -0,0 +1,7 @@
+/* GCC compound statements */
+
+foo(unsigned long z)
+{
+ z = ({ unsigned long tmp; tmp = 1; tmp; });
+ foo(z);
+}
OpenPOWER on IntegriCloud