// RUN: %clang_cc1 -std=c++11 -verify %s -Wno-tautological-compare
template<typename T>voidf(inti,floatf,boolb,charc,int*pi, T*pt){(void)~i;(void)~f;// expected-error {{invalid argument type}}
(void)~b;(void)~c;(void)~pi;// expected-error {{invalid argument type}}
(void)~pt;// FIXME: we should be able to give an error here.
}