brintos

brintos / llvm-project-archived public Read only

0
0
Text · 275 B · 4a88ec2 Raw
10 lines · cpp
1// RUN: %clang_cc1 -x c++ -triple bpf-pc-linux-gnu -dwarf-version=4 -fsyntax-only -verify %s2 3#define __reloc__ __attribute__((preserve_access_index))4 5struct t1 {6  int a;7  int b[4];8  int c:1;9} __reloc__; // expected-warning {{'preserve_access_index' attribute ignored}}10