blob: 428e95ccf96e10655d2dace01af8b187e8c25960 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// RUN: not %clang_cc1 -verify %s -std=c++11
// PR17730
template <typename T>
void S<T>::mem1();
template <typename T>
void S<T>::mem2() {
const int I = sizeof(T);
(void)I;
}
|