1 // Tests that we can use modules and ftime-trace together.
2 // Address https://github.com/llvm/llvm-project/issues/60544
6 // RUN: split-file %s %t
8 // RUN: %clang_cc1 -std=c++20 %t/a.cppm -emit-module-interface -o %t/a.pcm
9 // RUN: %clang_cc1 -std=c++20 %t/a.pcm -ftime-trace=%t/a.json -o -
10 // RUN: ls %t | grep "a.json"