mirror of
https://github.com/opnsense/src.git
synced 2026-02-28 04:10:49 -05:00
12 lines
316 B
C
12 lines
316 B
C
// RUN: %clang_cc1 -verify -fsyntax-only %s
|
|
|
|
static void (*fp0)(void) __attribute__((unused));
|
|
|
|
static void __attribute__((unused)) f0(void);
|
|
|
|
// On K&R
|
|
int f1() __attribute__((unused));
|
|
|
|
int g0 __attribute__((unused));
|
|
|
|
int f2() __attribute__((unused(1, 2))); // expected-error {{attribute requires 0 argument(s)}}
|