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
* g++.dg/inherit/thunk7.C: New test.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
typeof6.C
1
// { dg-options "" }
2
3
template <class T>
4
void test1() {
5
int x = 0;
6
const typeof(x) & t1 = x+0;
7
}
8
9
void test2() {
10
int x = 0;
11
const typeof(x) & t1 = x+0;
12
}
13
14
int main() {
15
test1<int>();
16
test2 ();
17
}