mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-02 16:23:56 +08:00
* g++.dg/warn/noreturn-3.C: Also test instantiation.
From-SVN: r74698
This commit is contained in:
parent
b5144086d5
commit
cd852e4d70
@ -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
|
||||
|
@ -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>();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user