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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [explicit72.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do assemble  }
2
// Contributed by Reid M. Pinchback 
3
// Adapted by Alexandre Oliva 
4
// plain char, signed char and unsigned char are distinct types
5
 
6
template  struct bug {};
7
template  struct bug { typedef char t; };
8
template  struct bug { typedef unsigned char t; };
9
template  struct bug { typedef signed char t; };
10
template  struct bug { typedef char t; };
11
template  struct bug { typedef unsigned char t; };
12
template  struct bug { typedef signed char t; };
13
 
14
void foo() {
15
  bug::t();
16
  bug::t();
17
  bug::t();
18
  bug::t();
19
  bug::t();
20
  bug::t();
21
}

powered by: WebSVN 2.1.0

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