aboutsummaryrefslogtreecommitdiff
path: root/test/sizeof-postfix.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/sizeof-postfix.c')
-rw-r--r--test/sizeof-postfix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/sizeof-postfix.c b/test/sizeof-postfix.c
new file mode 100644
index 0000000..9062517
--- /dev/null
+++ b/test/sizeof-postfix.c
@@ -0,0 +1,4 @@
+int x;
+int f(void) {
+ return sizeof (x)++;
+}