comparison gcc/testsuite/gcc.dg/pr60915.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* PR c/60915 */
2 /* { dg-do compile } */
3
4 void /* { dg-error "attributes should be specified before the declarator in a function definition" } */
5 foo (void) __attribute__((__visibility__("default")))
6 {
7 }