[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Sema / pointer-subtract-compat.c
blobb801f81473b3c1d3faacd24cb7336e6edc52eb78
1 // RUN: %clang_cc1 %s -fsyntax-only -verify -pedantic
3 typedef const char rchar;
4 int a(char* a, rchar* b) {
5 return a-b;
8 // <rdar://problem/6520707>
9 void f0(void (*fp)(void)) {
10 int x = fp - fp; // expected-warning{{arithmetic on pointers to the function type 'void (void)' is a GNU extension}}