Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / template / ref2.C
blob9feb19d2f4061523f8a7b9ebda0abe7429673faf
1 // Copyright (C) 2005 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 7 Jan 2005 <nathan@codesourcery.com>
4 // PR 19298: Rejects legal
5 // Origin: Andrew Pinski <pinskia@gcc.gnu.org>
7 struct t
9   void f() const;
12 template <typename _Tp>
13 struct A
15  static t const&  c;
18 template <typename _Tp>
19 void g(void)
21   A<_Tp>::c.f();
24 void h(void)
26   g<int>();