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