blob: 5dff2abba8ba20c1e738e4dfb223230b438e73d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Configuration-time test program, used in Meson build.
// Test whether std::time_t and gint32 are typedefs of the same builting type.
// If they aren't then they can be used for method overload.
// Corresponds to the M4 macro GLIBMM_C_STD_TIME_T_IS_NOT_INT32.
#include <ctime>
int main()
{
typedef signed int gint32;
class Test
{
void something(gint32 val)
{}
void something(std::time_t val)
{}
};
return 0;
}
|