Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Driver / ftime-trace-sections.cpp
blob0c16052bc0c3a2e5e77950df8d83fd7e084fe3a4
1 // RUN: rm -rf %t && mkdir %t && cd %t
2 // RUN: %clangxx -S -ftime-trace -ftime-trace-granularity=0 -o out %s
3 // RUN: %python %S/ftime-trace-sections.py < out.json
5 template <typename T>
6 void foo(T) {}
7 void bar() { foo(0); }