Chandler Carruth | 7d5c45e | 2010-07-08 09:42:26 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify -Wunknown-attributes %s |
2 | |||||
3 | int x __attribute__((foobar)); // expected-warning {{unknown attribute 'foobar' ignored}} | ||||
4 | void z() __attribute__((bogusattr)); // expected-warning {{unknown attribute 'bogusattr' ignored}} |