mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
4c8aa8b5ae
This test used to just define an unused static inline function and check whether that causes a warning. But newer clang versions warn about unused static inline functions when defined inside a .c file, but not when defined in an included header, which is the case we care about. Change the test to cope. Andres Freund
6 lines
179 B
C
6 lines
179 B
C
/*
|
|
* For the raison d'etre of this file, check the comment above the definition
|
|
* of the PGAC_C_INLINE macro in config/c-compiler.m4.
|
|
*/
|
|
static inline int fun () { return 0; }
|