OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [bracket4.C] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
// { dg-options "-std=c++0x" }
3
template
4
struct vector {
5
};
6
 
7
struct X {
8
  template
9
  struct tmpl {
10
    operator T() const;
11
  };
12
};
13
 
14
template
15
void g()
16
{
17
  T::template tmpl>() + 2;
18
}
19
 
20
template
21
void operator+(vector, int);
22
 
23
void f()
24
{
25
  vector>() + 2;
26
}
27
 
28
// PR c++/36460
29
template 
30
class A {};
31
template 
32
class B {};
33
 
34
A> x;
35
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.