brintos

brintos / llvm-project-archived public Read only

0
0
Text · 255 B · ec1386e Raw
12 lines · c
1// RUN: %clang %s -Wl,-as-needed -o %t && %run %t2// Regression test for PR158233// (http://llvm.org/bugs/show_bug.cgi?id=15823).4#include <stdio.h>5#include <time.h>6 7int main() {8  struct timespec ts;9  clock_gettime(CLOCK_REALTIME, &ts);10  return 0;11}12