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++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr69637-1.C
blob
b8c22ebc8698fdbf2ed8f5359eee3ce29a1740a3
1
// { dg-do compile { target c++11 } }
2
3
template <class T>
4
int foo () { return 1; }
5
6
struct B {
7
unsigned c: foo; // { dg-error "non-integral type" }
8
};