forked from OSchip/llvm-project
Improve the test for unused-expression warnings slightly
llvm-svn: 93644
This commit is contained in:
parent
9787fd0468
commit
27aa77ac08
|
@ -13,3 +13,12 @@ APSInt& APSInt::operator=(const APSInt &RHS) {
|
|||
APInt::operator=(RHS);
|
||||
return *this;
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
struct X {
|
||||
X();
|
||||
};
|
||||
|
||||
void test() {
|
||||
X<int>();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue