aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/g++.dg/parse/fn-typedef2.C
blob: c9c7f060d01f19b5cba0c83c8267b2848a99c2af (plain)
1
2
3
4
5
6
7
// Test that merge_types preserves fn cv-quals.

typedef void ft() const;
typedef void V;
typedef V ft() const;

ft f;				// { dg-error "qualified" }