1
Fork 0
hermetic_cc_toolchain/test/c/main.c

15 lines
274 B
C

// Copyright 2023 Uber Technologies, Inc.
// Licensed under the MIT License
#include <stdio.h>
#include <features.h>
int main() {
#ifdef __GLIBC__
printf("glibc_%d.%d\n", __GLIBC__, __GLIBC_MINOR__);
#else
printf("non-glibc\n");
#endif
return 0;
}