blob: a67b7ac8775c7fdf3f4c95c8c907b0444aff384e [file] [log] [blame]
/* Test to make sure that invalid attributes aren't translated.
If error recovery is ever testable then "foobar" should be
translated. */
/* { dg-do compile }
{ dg-require-iconv "IBM1047" }
*/
int foo __attribute__ ((walrus)); /* { dg-warning "walrus" "ignored" } */
char x[] = "foobar";