llvm-project/clang/test/Sema/attr-endian.c

4 lines
142 B
C

// RUN: %clang_cc1 %s -verify -fsyntax-only
int p1 __attribute__((endian(host))); // expected-warning {{unknown attribute 'endian' ignored}}