/* This test case is part of GDB, the GNU debugger.
- Copyright 2011 Free Software Foundation, Inc.
+ Copyright 2011-2019 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
static X even_harder (T a) { return static_cast<X> (a); }
int operator == (GDB const& other)
{ return 1; }
+ void a (void) const { }
+ void b (void) volatile { }
+ void c (void) const volatile { }
};
int main(int argc, char **argv)
{
GDB<int> a, b;
+ a.a ();
+ a.b ();
+ a.c ();
if (a == b)
return GDB<char>::harder('a') + GDB<int>::harder(3)
+ GDB<char>::even_harder<int> ('a');