URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// { dg-do run }
|
// { dg-do run }
|
// Copyright (C) 2001 Free Software Foundation, Inc.
|
// Copyright (C) 2001 Free Software Foundation, Inc.
|
// Contributed by Jason Merrill 14 Jun 2001
|
// Contributed by Jason Merrill 14 Jun 2001
|
|
|
// Test that deduction can add cv-quals to a pointer-to-member type.
|
// Test that deduction can add cv-quals to a pointer-to-member type.
|
|
|
struct A;
|
struct A;
|
int A::* pi;
|
int A::* pi;
|
|
|
template void f (const T A::*) {}
|
template void f (const T A::*) {}
|
|
|
int main ()
|
int main ()
|
{
|
{
|
f (pi);
|
f (pi);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.