aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/friend8.C
blob: 21fd242f1836dd1679a5e849c808e0679b15ebb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
template <int N> struct ivector
{
  template <int r, int c> friend void
    mult_mv ();
};

template struct ivector<3>;

template <int r, int c> void
mult_mv ()
{
  c;
}

void get_local_point_pos ()
{
  mult_mv<7, 3> ();
}