aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/nullptr27.C
blob: 2510dc80634072b9bb2a4166055110ff738830ed (plain)
1
2
3
4
5
6
7
8
9
// PR c++/52706
// { dg-do compile { target c++11 } }
// { dg-options "-fabi-version=0" }
// { dg-final { scan-assembler "_Z1fIDnLDn0EEiT_" } }

template<class T, decltype(nullptr) = nullptr>
int f(T);

int i2 = f(nullptr); // 17