2011-06-02 04:09:40 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify -Wattributes %s
|
2010-07-08 17:42:26 +08:00
|
|
|
|
|
|
|
int x __attribute__((foobar)); // expected-warning {{unknown attribute 'foobar' ignored}}
|
|
|
|
void z() __attribute__((bogusattr)); // expected-warning {{unknown attribute 'bogusattr' ignored}}
|