forked from OSchip/llvm-project
Fix test that was incorrected merged between patches.
llvm-svn: 301787
This commit is contained in:
parent
1c7df0f3f0
commit
49675ac409
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue