llvm-project/clang/test/Driver/check-time-trace-sections.cpp

7 lines
244 B
C++

// RUN: %clangxx -S -ftime-trace -ftime-trace-granularity=0 -o %T/check-time-trace-sections %s
// RUN: cat %T/check-time-trace-sections.json | %python %S/check-time-trace-sections.py
template <typename T>
void foo(T) {}
void bar() { foo(0); }