OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [charset/] [attribute2.c] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Test to make sure that invalid attributes aren't translated.
2
   If error recovery is ever testable then "foobar" should be
3
   translated.  */
4
/* { dg-do compile }
5
   { dg-require-iconv "IBM1047" }
6
 */
7
int foo __attribute__ ((walrus)); /* { dg-error "walrus" "ignored" } */
8
char x[] = "foobar";

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.