OSDN Git Service

* decl.c (compute_array_index_type): Don't try to do anything with
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / stmtexpr.C
1 extern "C" void abort();
2
3 template <class T>
4 T f(T)
5 {
6   T t = __extension__ ({ T j = 4; j + 3; });
7   return t;
8 }
9
10
11 int main()
12 {
13   if (f(3) != 7)
14     abort();
15 }
16