summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/nolinkage1a.cc
blob: 6672323fdd404d1be4c331bb6bdb6568ab69910d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "nolinkage1.h"

typedef struct { double d; } *BP;

void f(BP) {  }

A<BP> b;

static void g()
{
  struct B { };
  A<B> a;
}

int dummy() { g(); f(0); return 0; }