ZeroTierOne/ext/libpqxx-7.7.3/config-tests/gcc_pure.cxx
2022-06-24 10:12:36 -07:00

11 lines
116 B
C++

// Test for gcc-style "pure" attribute.
int __attribute__((pure)) f()
{
return 0;
}
int main()
{
return f();
}