aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.other/typeinfo1.C
blob: 0674988c5cbdb23263f02da8d88bc21b1c2c6fdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do assemble  }

#include <typeinfo>

struct S {
  S (const char*);
};

void f(S s);
void f(std::type_info);

void g()
{
  f("abc");
}