summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memclass21.C
blob: 7ac87a7852bad2946c0b1c478de8c8259085c533 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }
// Origin: <Corey Kosak> kosak@cs.cmu.edu

struct moo {
  template<bool x> struct cow {};

  template<bool x>
  struct moo2 {
    void func(cow<x> &c) { }
  };
};