aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/abi/abi-tag17.C
blob: cb7dbab9c7ff6267c77b6bf6845cfc4694dddd28 (plain)
1
2
3
4
5
6
7
8
9
// { dg-final { scan-assembler "_Z3fi1B6_X_tagv" } }

struct __attribute((abi_tag("_A1_tag"))) A1 {};
template <class T> struct __attribute((abi_tag("_X_tag"))) X {};
X<int> fi1();
int main() {
  X<A1> xa;
  fi1();
}