LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / pr37289.c
blob0d2d220cd841f383ef4977c6a895d7e8173d74d5
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-original" } */
4 void f(unsigned long x);
6 void g(long x)
8 f((unsigned long)(-1-x)+1);
11 /* Make sure we do not lose the conversion. */
13 /* { dg-final { scan-tree-dump "-\\\(long unsigned int\\\) x" "original" } } */