summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/torture/pr51344.C
blob: 07be919c3cb1039f103da2396aef86428b8b4014 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-do compile { target { i?86-*-* && ilp32 } } } */
class A;

template <class T>
class B
{
  friend __attribute__((cdecl)) A& operator >>(A& a, B& b)
  {
    return a;
  }
};