Debian Codegraph @

gcc/testsuite/g++.dg/concepts/abbrev3.C

raw
1 // PR c++/69448
2 // { dg-do compile { target c++14 } }
3 // { dg-additional-options "-fconcepts" }
4
5 long x;
6
7 auto& f(auto) { return x; }
8 auto* g(auto) { return &x; }
9
10 long& r = f(1);
11 long* p = g(1);