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++.old-deja
/
g++.brendan
/
template29.C
blob
aee91c2373e9c9b4abde03f4725661731b855788
1
// { dg-do assemble }
2
// GROUPS passed templates
3
template <class ElementType> class A
4
{ public:
5
A(ElementType) {}
6
ElementType get() const ;
7
};
8
9
template <class ElementType> ElementType A<ElementType>::get() const
10
{ return ElementType(0); }
11
12
int main() { const A<short> a(3); }