OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/46124
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr43905.C
1
extern void sf ( __const char *);
2
struct Matrix{
3
int operator[](int n){
4
sf ( __PRETTY_FUNCTION__);
5
}
6
int operator[](int n)const{
7
sf ( __PRETTY_FUNCTION__);
8
}
9
};
10
void calcmy(Matrix const &b, Matrix &c, int k){
11
b[k];
12
c[k];
13
}