summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/nolinkage1a.cc
blob: f8528f3e650f1d0965d3b8b099f7612c4b54ddd8 (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); }