summaryrefslogtreecommitdiff
path: root/tests/typing/bad/testfile-arith-5.cpp
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2013-12-05 22:20:54 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2013-12-05 22:20:54 +0100
commita01d09ca4730de4987d67e73a8ee895f77f57f9c (patch)
treee9f667f874572a51988225a45ab698ce079059a9 /tests/typing/bad/testfile-arith-5.cpp
parent6973d36261d8030c4836a8e25a0e95c19476978e (diff)
downloadLPC-Projet-a01d09ca4730de4987d67e73a8ee895f77f57f9c.tar.gz
LPC-Projet-a01d09ca4730de4987d67e73a8ee895f77f57f9c.zip
Added tests, corrected two failed tests.
Diffstat (limited to 'tests/typing/bad/testfile-arith-5.cpp')
-rw-r--r--tests/typing/bad/testfile-arith-5.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/typing/bad/testfile-arith-5.cpp b/tests/typing/bad/testfile-arith-5.cpp
index 2637ffc..f17d496 100644
--- a/tests/typing/bad/testfile-arith-5.cpp
+++ b/tests/typing/bad/testfile-arith-5.cpp
@@ -1,2 +1,3 @@
-int main() { char *p; 1-p; }
+int main() { int *p; 1-p; }
+