OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / parse / fn-typedef2.C
1 // Test that merge_types preserves fn cv-quals.
2
3 typedef void ft() const;
4 typedef void V;
5 typedef V ft() const;
6
7 ft f;                           // { dg-error "qualified" }