* g++.dg/warn/noreturn-3.C: Also test instantiation.

From-SVN: r74698
This commit is contained in:
Kriang Lerdsuwanakij 2003-12-16 15:24:25 +00:00 committed by Kriang Lerdsuwanakij
parent b5144086d5
commit cd852e4d70
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-12-16 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
* g++.dg/warn/noreturn-3.C: Also test instantiation.
2003-12-16 Nathan Sidwell <nathan@codesourcery.com>
PR c++/13387

View File

@ -7,3 +7,7 @@
// PR c++/13106: No return warning when return type is a dependent type.
template <typename T> T dummy() { }
int main() {
dummy<void>();
}