repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove outermost loop parameter.
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
bracket4.C
blob
c0743fb7ff5c3c915342cb3cc3579babe570b0ab
1
// { dg-do "compile" }
2
// { dg-options "-std=c++0x" }
3
template<typename T>
4
struct vector {
5
};
6
7
struct X {
8
template<typename T>
9
struct tmpl {
10
operator T() const;
11
};
12
};
13
14
template<typename T>
15
void g()
16
{
17
T::template tmpl<vector<int>>() + 2;
18
}
19
20
template<typename T>
21
void operator+(vector<T>, int);
22
23
void f()
24
{
25
vector<vector<int>>() + 2;
26
}
27
28
// PR c++/36460
29
template <class a>
30
class A {};
31
template <class b>
32
class B {};
33
34
A<B<void()>> x;
35