// { dg-do run }// { dg-options "-std=c++0x" }// Test passing to ellipisis#include<cstdio>#include<cstring>intmain(){charbuf1[64];charbuf2[64];charbuf3[64];std::sprintf(buf1,"%p",(void*)0);std::sprintf(buf2,"%p",nullptr);decltype(nullptr)mynull=0;std::sprintf(buf3,"%p",nullptr);returnstd::strcmp(buf1,buf2)!=0||std::strcmp(buf1,buf3)!=0;}