* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / decltype7.C
blobf757c9e10c186911e2dd484a78ef514c87097413
1 // PR c++/34268
2 // { dg-do compile }
4 struct A
6   __decltype (A);       // { dg-error "must be an expression" }
7   __decltype (~A);      // { dg-error "must be an expression" }
8 };
10 struct B
12   __typeof__ (B);
13   __typeof__ (~B);      // { dg-error "expected primary-expression" }