Debian Codegraph @

gcc/testsuite/g++.dg/torture/pr51344.C

raw
1 /* { dg-do compile { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
2 class A;
3
4 template <class T>
5 class B
6 {
7 friend __attribute__((cdecl)) A& operator >>(A& a, B& b)
8 {
9 return a;
10 }
11 };