From 97043b85f3c82c99cd4cc6669904446a42026906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 19 May 2007 19:20:43 +0000 Subject: [PATCH] Test: Added "testif1", contains "if (ab);" --- testif1/err.msg | 1 + testif1/testif1.cpp | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 testif1/err.msg create mode 100644 testif1/testif1.cpp diff --git a/testif1/err.msg b/testif1/err.msg new file mode 100644 index 000000000..5740a4d81 --- /dev/null +++ b/testif1/err.msg @@ -0,0 +1 @@ +[testif1\testif1.cpp:5]: Found "if (condition);" diff --git a/testif1/testif1.cpp b/testif1/testif1.cpp new file mode 100644 index 000000000..a848e85a0 --- /dev/null +++ b/testif1/testif1.cpp @@ -0,0 +1,7 @@ + + +void f() +{ + if (ab); + cd = ef; +}