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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [ext/] [attrib1.C] - Blame information for rev 307

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

Line No. Rev Author Line
1 301 jeremybenn
// Test for interpretation of attribute immediately before function name.
2
// Origin: Joseph Myers 
3
// { dg-do compile }
4
 
5
// An attribute immediately before the function name should in this
6
// case properly apply to the return type, but compatibility with
7
// existing code using this form requires it to apply to the function
8
// type instead in the case of attributes applying to function types,
9
// and to the declaration in the case of attributes applying to declarations.
10
int ****__attribute__((format(printf, 1, 2))) foo(const char *, ...);

powered by: WebSVN 2.1.0

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