* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-typeid.C
blob32af84eacb9b9a209d939fc9cc449a41581626f0
1 // { dg-do compile { target c++11 } }
3 #include <typeinfo>
5 struct A { virtual void f(); };
7 extern constexpr const std::type_info* p1 = &typeid(int);
8 extern constexpr const std::type_info* p2 = &typeid(A);
9 // typeid-expression whose operand is of a polymorphic class type
10 extern constexpr const std::type_info* p3 = &typeid((A())); // { dg-error "" "" { xfail *-*-* } }