do not warn about -=/=- confusion with macros, thanks to rdogra for a testcase.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66416 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/exprs.c b/test/Sema/exprs.c
index 25da12b..8bf42f7 100644
--- a/test/Sema/exprs.c
+++ b/test/Sema/exprs.c
@@ -25,6 +25,10 @@
var =+5; // no warning when the subexpr of the unary op has no space before it.
var =-5;
+
+#define FIVE 5
+ var=-FIVE; // no warning with macros.
+ var=-FIVE;
}
// rdar://6319320