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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [variadic87.C] - Blame information for rev 783

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/33965
2
// { dg-options -std=c++0x }
3
template
4
struct foo
5
{
6
    static bool const value = false;
7
};
8
 
9
template class T, typename... Args>
10
struct foo >
11
{
12
    static bool const value = true;
13
};
14
 
15
template
16
struct int_
17
{};
18
 
19
int main()
20
{
21
  static_assert(foo >::value == false,
22
                "picked up partial specialization, but should not have");
23
}

powered by: WebSVN 2.1.0

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