aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.pt/memtemp92.C
blob: ad86f79afe24eb522201b7ba2d96ca5917d05742 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// { dg-do assemble  }
// Origin: "Adam J. Richter" <adam@yggdrasil.com>

template <class Style, class Base>
class theme_map {
};

class QWidget {
protected:
  virtual void *harmony_get_list_for_signal(const char *) const;

public:
  static theme_map<int, QWidget> ContentsThemes;

protected:
  virtual void updateDrawingObjects (void)
    {
      update_dro (QWidget::ContentsThemes);
    }

  template <class S, class B>
  void update_dro (theme_map<S, B>& themes)
    {
    }
};

void *QWidget::harmony_get_list_for_signal(const char *sig) const
{
  	return 0;
}