blob: 59c73ea756e0f82c69a8dee5ae6e727b4bb089d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#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
|