forked from OSchip/llvm-project
9 lines
254 B
C
9 lines
254 B
C
|
// RUN: %clang_cc1 -triple i386-mingw32 -fms-extensions -fsyntax-only -verify %s
|
||
|
|
||
|
int foo(int *a, int i) {
|
||
|
__assume(i != 4);
|
||
|
__assume(++i > 2); //expected-warning {{the argument to __assume has side effects that will be discarded}}
|
||
|
return a[i];
|
||
|
}
|
||
|
|