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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [conversion1.C] - Blame information for rev 801

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

Line No. Rev Author Line
1 693 jeremybenn
// PR C++/2213
2
// Origin: philippeb@corel.com
3
// Copyright (C), 2002 Free Software Foundation
4
// Contributed by Gabriel Dos Reis 
5
 
6
// { dg-do compile }
7
 
8
class QObject
9
{
10
};
11
 
12
int main()
13
{
14
  long long m;
15
 
16
  (void (QObject::*)()) m;    // { dg-error "invalid cast" "" }
17
}

powered by: WebSVN 2.1.0

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