summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/builtin1.C
blob: 3b826bd866a52382567ce7bab4e6fefcf68e04f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace std {
class Base {};
}

struct Derived : public std::Base {
  operator const char*() const;
  operator bool(void) const;
};

void log(const char* str);

void nothing()
{
  Derived temp;
  log(temp);
}