aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/typeinfo1.C
blob: 070e885fe91a58908fc77a0d0569f4d2af4b15dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Build don't link:

#include <typeinfo>

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

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

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