Debian Codegraph @

clang/test/CXX/over/over.built/p11.cpp

raw
1 // RUN: %clang_cc1 -std=c++11 -verify %s -Wno-tautological-compare
2
3 template <typename T>
4 void f(int i, float f, bool b, char c, int* pi, T* pt) {
5 (void)~i;
6 (void)~f; // expected-error {{invalid argument type}}
7 (void)~b;
8 (void)~c;
9 (void)~pi; // expected-error {{invalid argument type}}
10 (void)~pt; // expected-error {{invalid argument type}}
11 }
12