2 // { dg-options "-std=c++0x" }
4 // Test passing to ellipisis
15 std::sprintf(buf1, "%p", (void*)0);
16 std::sprintf(buf2, "%p", nullptr);
17 decltype(nullptr) mynull = 0;
18 std::sprintf(buf3, "%p", nullptr);
19 return std::strcmp(buf1, buf2) != 0 || std::strcmp(buf1, buf3) != 0;