repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ORC] Fail materialization in tasks that are destroyed before running.
[llvm-project.git]
/
compiler-rt
/
test
/
sanitizer_common
/
TestCases
/
Linux
/
clock_gettime.c
blob
ec1386ef2414ccab6d9eab453e0ecff48e364cd5
1
// RUN: %clang %s -Wl,-as-needed -o %t && %run %t
2
// Regression test for PR15823
3
// (http://llvm.org/bugs/show_bug.cgi?id=15823).
4
#include <stdio.h>
5
#include <time.h>
6
7
int
main
() {
8
struct
timespec ts
;
9
clock_gettime
(
CLOCK_REALTIME
, &
ts
);
10
return
0
;
11
}