aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/attrib54.C
blob: 5ff28c836efc30e03967d82ce5019c5acaba032f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/82406

class a
{
public:
  template <typename b> void operator() (const b &);
};
void c () throw () __attribute__ ((__nonnull__));
void
d ()
{
  a e;
  e (c);
}