Improve the test for unused-expression warnings slightly

llvm-svn: 93644
This commit is contained in:
Douglas Gregor 2010-01-16 18:17:21 +00:00
parent 9787fd0468
commit 27aa77ac08
1 changed files with 9 additions and 0 deletions

View File

@ -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>();
}