aboutsummaryrefslogtreecommitdiff
path: root/test/lvalue-conversion.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/lvalue-conversion.c')
-rw-r--r--test/lvalue-conversion.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/lvalue-conversion.c b/test/lvalue-conversion.c
new file mode 100644
index 0000000..6bbc326
--- /dev/null
+++ b/test/lvalue-conversion.c
@@ -0,0 +1,6 @@
+void g();
+void f(void) {
+ static const unsigned char c = 0;
+ g(c);
+ g(~c);
+}