// Test that cv-quals are dropped from non-class return type // { dg-options "-std=c++0x" } template struct assert_same_type; template struct assert_same_type { }; struct A { int i; }; extern const int i; assert_same_type x;