aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Modules/gmodules-nodebug.cpp
blob: d83103768e838ab0185dbd6eed4ef67bc05adfb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// REQUIRES: asserts

// RUN: %clang_cc1 -std=c++23 -x c++-header -emit-pch -fmodule-format=obj \
// RUN:   -o %t.pch %s \
// RUN:   -mllvm -debug-only=pchcontainer &>%t-pch.ll
// RUN: cat %t-pch.ll | FileCheck %s

template<class...>                     
using __void_t [[gnu::nodebug]] = void;
                                       
__void_t<> func() {}                   

// CHECK: !DICompileUnit
// CHECK-NOT: __void_t