Mercurial > hg > CbC > CbC_llvm
view clang/test/Sema/bpf-attr-preserve-access-index.cpp @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// 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}}