comparison gcc/testsuite/g++.old-deja/g++.law/weak.C @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
9 #include <streambuf> 9 #include <streambuf>
10 #include <cstdio> 10 #include <cstdio>
11 11
12 std::istream x (0); 12 std::istream x (0);
13 13
14 int
14 main () { 15 main () {
15 x.get(); 16 x.get();
16 std::putc(0, 0); 17 std::putc(0, 0);
17 std::fgets(0, 0, 0); 18 std::fgets(0, 0, 0);
18 x.get((char*) 0, 0); 19 x.get((char*) 0, 0);
20 return 0;
19 } 21 }
20 22