• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: %clang_cc1 -fsyntax-only -verify -Wattributes %s
2 
3 int x __attribute__((foobar)); // expected-warning {{unknown attribute 'foobar' ignored}}
4 void z() __attribute__((bogusattr)); // expected-warning {{unknown attribute 'bogusattr' ignored}}
5