Author: nicholas Date: Sun Apr 30 21:20:06 2017 New Revision: 301787 URL: http://llvm.org/viewvc/llvm-project?rev=301787&view=rev Log: Fix test that was incorrected merged between patches.
Modified: cfe/trunk/test/Sema/integer-overflow.c Modified: cfe/trunk/test/Sema/integer-overflow.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/integer-overflow.c?rev=301787&r1=301786&r2=301787&view=diff ============================================================================== --- cfe/trunk/test/Sema/integer-overflow.c (original) +++ cfe/trunk/test/Sema/integer-overflow.c Sun Apr 30 21:20:06 2017 @@ -149,7 +149,7 @@ uint64_t check_integer_overflows(int i) // expected-warning@+2 {{overflow in expression; result is 536870912 with type 'int'}} uint64_t *b; - (void)b[4608 * 1024 * 1024] + 1; + (void)b[4608 * 1024 * 1024]; // expected-warning@+1 2{{overflow in expression; result is 536870912 with type 'int'}} (void)(i ? (4608 * 1024 * 1024) : (4608 * 1024 * 1024)); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits