forked from OSchip/llvm-project
PR17730: Add test that we don't crash on this testcase. (The bug is already fixed.)
llvm-svn: 220787
This commit is contained in:
parent
eb2226e4bd
commit
241ae2cecf
|
@ -0,0 +1,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;
|
||||
}
|
Loading…
Reference in New Issue