]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/nullptr27.C
Regenerate riscv.opt.urls and i386.opt.urls
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / cpp0x / nullptr27.C
CommitLineData
a3ddb738 1// PR c++/52706
4b2e63de
JM
2// { dg-do compile { target c++11 } }
3// { dg-options "-fabi-version=0" }
e0c866dd 4// { dg-final { scan-assembler "_Z1fIDnLDnEEiT_" } }
a3ddb738
JM
5
6template<class T, decltype(nullptr) = nullptr>
7int f(T);
8
9int i2 = f(nullptr); // 17