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
[libc] Switch to using the generic `<gpuintrin.h>` implementations (#121810)
[llvm-project.git]
/
clang
/
test
/
Driver
/
ftime-trace-sections.cpp
blob
da7109b9d81a6b3bf497c1fd51534a4e18536b0b
1
// RUN: rm -rf %t && mkdir %t && cd %t
2
// RUN: %clangxx -S -ftime-trace -ftime-trace-granularity=0 -ftime-trace-verbose -o out %s
3
// RUN: %python %S/ftime-trace-sections.py < out.json
4
5
template
<
typename T
>
6
void
foo
(
T
) {}
7
void
bar
() {
foo
(
0
); }