blob: a4caceae4954cc09bd7671e36d4eb04a3af25c84 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
// RUN: %clang_cc1 -fsyntax-only -std=c++0x -verify %s
template<typename T>
struct X {
void f() {}
};
template inline void X<int>::f(); // expected-error{{'inline'}}
// FIXME: test constexpr
|