summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPeter Wu <lekensteyn@gmail.com>2011-12-09 15:22:48 +0000
committerPeter Wu <lekensteyn@gmail.com>2011-12-09 15:22:48 +0000
commita2e9eaa837bde1d0a35f8c18b8e31f7e5398f3bc (patch)
treeb8f1f80f1e970cc85cc94140c6b6b455b721770c /tests
parent284c27d4e7b1f6650217522d59c3c7a9ee963f5f (diff)
downloadpp2cc-a2e9eaa837bde1d0a35f8c18b8e31f7e5398f3bc.tar.gz
Fix value of logical not (!) expression
Diffstat (limited to 'tests')
-rw-r--r--tests/not.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/not.c b/tests/not.c
new file mode 100644
index 0000000..b7c7682
--- /dev/null
+++ b/tests/not.c
@@ -0,0 +1,3 @@
+int main() {
+ return !0; // 1
+}