aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/parse/crash15.C
blob: afad4c1fe592da267808c254438c8f6d58ba6544 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do compile }

// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 29 Jun 2004 <nathan@codesourcery.com>

// Origin: Volker Reichelt <reichelt@gcc.gnu.org>
// Bug 16260. ICE

template<typename T> int foo() { return T::X::Y; }