You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
286 B

#define DIAG_PRAGMA_MACRO 1
#pragma clang diagnostic ignored "-Wparentheses"
#ifdef __cplusplus
template<typename T> const char *f(T t) {
return "foo" + t;
}
#pragma clang diagnostic ignored "-Wstring-plus-int"
template<typename T> const char *g(T t) {
return "foo" + t;
}
#endif