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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pr58898.C
blob
e788c913c6684839fa4774e34030d0d444a4ff45
1
// PR c++/58898
2
3
template <typename = int>
4
struct Foo
5
{
6
Foo()
7
{
8
int t(int()); // Error
9
}
10
};
11
12
int main()
13
{
14
int t(int()); // OK
15
Foo<> a; // Error
16
}