diff options
Diffstat (limited to 'test/SemaCXX/warn-assignment-condition.cpp')
-rw-r--r-- | test/SemaCXX/warn-assignment-condition.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/test/SemaCXX/warn-assignment-condition.cpp b/test/SemaCXX/warn-assignment-condition.cpp index ab9d2ad4a5..27eedb9128 100644 --- a/test/SemaCXX/warn-assignment-condition.cpp +++ b/test/SemaCXX/warn-assignment-condition.cpp @@ -125,12 +125,3 @@ void test2() { if ((test2 == fn)) {} } -// Do not warn about extra '()' used within a macro. This pattern -// occurs frequently. -#define COMPARE(x,y) (x == y) -int test3(int x, int y) { - if (COMPARE(x, y)) // no-warning - return 0; - return 1; -} - |