Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / template / arg7.C
bloba9333b26a2162fd08856e026831d31e7db279407
1 // PR c++/27425, 34274
3 template<typename T> struct A
5   template<template<T> class> struct B {}; // { dg-error "void|mismatch|expected" }
6   // { dg-bogus "not supported" "" { target *-*-* } 5 }
7   template<T> struct C;                    // { dg-error "void" }
8   B<C> b;
9 };
11 A<void> a;                      // { dg-message "instantiated" }