freebsd_amp_hwpstate/test/SemaTemplate/template-decl-fail.cpp

4 lines
129 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify %s
template<typename T> typedef T X; // expected-error{{typedef cannot be a template}}