[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Sema / bpf-attr-preserve-access-index.cpp
blob4a88ec2eda3c6629515cf2f9bfd70008fee68685
1 // RUN: %clang_cc1 -x c++ -triple bpf-pc-linux-gnu -dwarf-version=4 -fsyntax-only -verify %s
3 #define __reloc__ __attribute__((preserve_access_index))
5 struct t1 {
6 int a;
7 int b[4];
8 int c:1;
9 } __reloc__; // expected-warning {{'preserve_access_index' attribute ignored}}