/*
 * With gcc 10.3, compiling with -Wduplicated-branches produces a
 * wrong warning about the branches being identical.
 */

void foo(const char *, ...);
extern int uselonglong;

void bar(void) {
    if (uselonglong)
        foo("blah", 10000ULL);
    else
        foo("blah", 10000U);
}