]> git.ipfire.org Git - thirdparty/gcc.git/blame_incremental - gcc/testsuite/g++.dg/cpp0x/nullptr27.C
[libstdc++] [testsuite] require cmath for c++23 cmath tests
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / cpp0x / nullptr27.C
... / ...
CommitLineData
1// PR c++/52706
2// { dg-do compile { target c++11 } }
3// { dg-options "-fabi-version=0" }
4// { dg-final { scan-assembler "_Z1fIDnLDnEEiT_" } }
5
6template<class T, decltype(nullptr) = nullptr>
7int f(T);
8
9int i2 = f(nullptr); // 17