[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / PCH / optnone.cpp
blob8351bd9de70dd6a3284029e2f9306ab083489bbf
1 // RUN: %clang_cc1 -emit-pch -x c++-header %s -o %t.pch
2 // RUN: %clang_cc1 -emit-llvm -DMAIN -include-pch %t.pch %s -o /dev/null
4 #ifndef MAIN
5 __attribute__((optnone)) void foo() {}
6 #endif