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
[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
nontype23.C
blob
dfda4fe2e595b1ece8112587e387e324c6820ece
1
// PR c++/48936
2
3
template <bool C> int foo (void);
4
template <class T> struct S
5
{
6
static const unsigned int a = sizeof (T);
7
enum { c = sizeof (foo <(a == 0)> ()) };
8
};
9
S<int> x;