15 lines · cpp
1// REQUIRES: asserts2 3// RUN: %clang_cc1 -std=c++23 -x c++-header -emit-pch -fmodule-format=obj \4// RUN: -o %t.pch %s \5// RUN: -mllvm -debug-only=pchcontainer &>%t-pch.ll6// RUN: cat %t-pch.ll | FileCheck %s7 8template<class...> 9using __void_t [[gnu::nodebug]] = void;10 11__void_t<> func() {} 12 13// CHECK: !DICompileUnit14// CHECK-NOT: __void_t15