summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/expr/volatile1.C
blob: 712c9e0fbdde40456a2a6e70cdc8635c0cf1a2e8 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/23167

struct dom
{
  static int tostr();
  void eval_old() volatile{tostr();}
  ~dom() throw();
};