OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gcc/:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
noreturn-3.C
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
}