Add regression test for PR15823

llvm-svn: 215941
This commit is contained in:
Alexey Samsonov 2014-08-18 22:11:14 +00:00
parent c4f1fc2af1
commit 00c02b297a
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
// RUN: %clang %s -Wl,-as-needed -o %t && %run %t
// Regression test for PR15823
// (http://llvm.org/bugs/show_bug.cgi?id=15823).
#include <stdio.h>
#include <time.h>
int main() {
struct timespec ts;
clock_gettime(CLOCK_REALTIME, &ts);
return 0;
}