testsuite: suppress mangling compatibility aliases
[official-gcc.git] / gcc / testsuite / g++.dg / abi / mangle75.C
blobb7619ed3159807502d033d3a330d6b0e88df0270
1 // PR c++/91377
2 // { dg-do compile { target c++11 } }
3 // { dg-additional-options -fabi-compat-version=0 }
5 struct f {
6   static constexpr int d = 3;
7   typedef int e;
8 };
9 template <int a> struct x { };
10 template <typename g, g j, g m> using n = x<j + m>;
11 template <typename ac> auto v() -> n<typename ac::e, 0, ac::d>;
12 void af() { v<f>(); }
14 // { dg-final { scan-assembler "_Z1vI1fE1xIXplLi0EsrT_1dEEv" } }