You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
275 B

// RUN: %clang_cc1 -x c++ -triple bpf-pc-linux-gnu -dwarf-version=4 -fsyntax-only -verify %s
#define __reloc__ __attribute__((preserve_access_index))
struct t1 {
int a;
int b[4];
int c:1;
} __reloc__; // expected-warning {{'preserve_access_index' attribute ignored}}