sizeof from string is defect
authorMatthias Braun <matze@braunis.de>
Sat, 16 Feb 2008 15:40:49 +0000 (15:40 +0000)
committerMatthias Braun <matze@braunis.de>
Sat, 16 Feb 2008 15:40:49 +0000 (15:40 +0000)
[r18879]

parsetest/cp_error023.c [new file with mode: 0644]

diff --git a/parsetest/cp_error023.c b/parsetest/cp_error023.c
new file mode 100644 (file)
index 0000000..393326a
--- /dev/null
@@ -0,0 +1,7 @@
+int main(void)
+{
+       if(sizeof("-o") != 3)
+               return 1;
+
+       return 0;
+}