Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/builtins10.C

raw
1 // { dg-do assemble }
2 // Test that built-in functions do warn when prototyped without arguments.
3 // Origin: PR c++/9367
4 // Copyright (C) 2003 Free Software Foundation.
5
6 extern "C" int snprintf(); // { dg-warning "conflicts with built-in declaration" "" { target c++11 } }
7 extern "C" int printf(); // { dg-warning "conflicts with built-in declaration" }
8