diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/null1.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/null1.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/null1.C b/gcc/testsuite/g++.old-deja/g++.other/null1.C index 0cf50a2..f4e97b9 100644 --- a/gcc/testsuite/g++.old-deja/g++.other/null1.C +++ b/gcc/testsuite/g++.old-deja/g++.other/null1.C @@ -38,7 +38,7 @@ int main() z = NULL; // { dg-warning "" } converting NULL to non-pointer type k(NULL); // { dg-warning "" } converting NULL to int g(NULL); // { dg-warning "" } converting NULL to int - h<NULL>(); // { dg-warning "" } NULL bound to integer template parameter + h<NULL>(); // No warning: NULL bound to integer template parameter l(NULL); // { dg-warning "" } converting NULL to int NULL && NULL; // No warning: converting NULL to bool is OK } |