blob: 1f6a3a0cd9109b46e57c98c8a26d419a2ba296fb [file] [log] [blame]
// 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}}
int test = sizeof(struct{char qq[(__assume(i != 5), 7)];});
return a[i];
}