diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0b91af749d23..d685e43b72ca 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2003-12-16 Kriang Lerdsuwanakij + + * g++.dg/warn/noreturn-3.C: Also test instantiation. + 2003-12-16 Nathan Sidwell PR c++/13387 diff --git a/gcc/testsuite/g++.dg/warn/noreturn-3.C b/gcc/testsuite/g++.dg/warn/noreturn-3.C index 66801458df14..828935c12eeb 100644 --- a/gcc/testsuite/g++.dg/warn/noreturn-3.C +++ b/gcc/testsuite/g++.dg/warn/noreturn-3.C @@ -7,3 +7,7 @@ // PR c++/13106: No return warning when return type is a dependent type. template T dummy() { } + +int main() { + dummy(); +}