1 // Test that the parens don't show up in the mangling
2 // { dg-do compile { target c++14 } }
3 // { dg-options "-Wno-return-local-addr" }
4 // { dg-final { scan-assembler "_Z1gI1AEDTdtfp_1iET_" } }
5 
6 struct A { int i; };
7 
8 template <class T>
9 auto g(T t)->decltype((t.i)) { return t.i; }
10 
main()11 int main()
12 {
13   g(A());
14 }
15