OSDN Git Service

2010-01-14 Martin Jambor <mjambor@suse.cz>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr35442.c
1 /* PR c/35442 */
2 /* { dg-bogus "not supported by" "" { target *-*-* } 0 } */
3
4 typedef char A __attribute__ ((vector_size (64)));
5 typedef int B __attribute__ ((vector_size (64)));
6
7 void
8 foo (A a)
9 {
10   ((B) a) ();   /* { dg-error "is not a function" } */
11 }
12
13 /* Ignore a warning that is irrelevant to the purpose of this test.  */
14 /* { dg-prune-output ".*GCC vector passed by reference.*" } */