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++.other
/
access11.C
blob
bdf26bd37bc96f291aac442223035bc982500b16
1
// { dg-do assemble }
2
// { dg-options "-w" }
3
// Origin: r.spatschek@fz-juelich.de
4
5
class A
6
{
7
private:
8
template <class T> void g(T t) {}
9
int i;
10
};
11
12
template <>
13
void A::g<int>(int t) { i = 1; } // { dg-message "" } private
14
15
int main()
16
{
17
A a;
18
19
a.g<int>(0); // { dg-error "" } private
20
}