[PATCH v2 2/3] RISC-V: setmem for RISCV with V extension
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / rfg26.C
blob43314fd16d15127a924b4e669414bfbb1a796f15
1 // { dg-do assemble  }
2 typedef void (FTYPE) ();
3  
4 FTYPE f;                /* ok */
5  
6 void
7 test_0 ()
9     (FTYPE) f;          /* { dg-error "5:invalid cast to function type" } casting to function type */