http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html
[official-gcc.git] / gcc / testsuite / g++.dg / parse / crash15.C
blobafad4c1fe592da267808c254438c8f6d58ba6544
1 // { dg-do compile }
3 // Copyright (C) 2001 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 29 Jun 2004 <nathan@codesourcery.com>
6 // Origin: Volker Reichelt <reichelt@gcc.gnu.org>
7 // Bug 16260. ICE
9 template<typename T> int foo() { return T::X::Y; }