URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [charset/] [attribute2.c] - Rev 783
Compare with Previous | Blame | View Log
/* 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";