repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Shuffle ChangeLog entries into new files ChangeLog-1998,
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
noreturn-3.C
blob
828935c12eeb8747cb4b950ab5bd16eab79a38cf
1
// { dg-do compile }
2
// { dg-options "-Wall" }
3
4
// Origin: stip@mathematik.uni-ulm.de
5
// Andrew Pinski <pinskia@gcc.gnu.org>
6
7
// PR c++/13106: No return warning when return type is a dependent type.
8
9
template <typename T> T dummy() { }
10
11
int main() {
12
dummy<void>();
13
}