Ted Kremenek | 9277bea | 2011-06-01 20:09:40 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify -Wattributes %s |
Chandler Carruth | 7d5c45e | 2010-07-08 09:42:26 +0000 | [diff] [blame] | 2 | |
3 | int x __attribute__((foobar)); // expected-warning {{unknown attribute 'foobar' ignored}} | ||||
4 | void z() __attribute__((bogusattr)); // expected-warning {{unknown attribute 'bogusattr' ignored}} |