brintos

brintos / llvm-project-archived public Read only

0
0
Text · 317 B · 9cc6ebe Raw
15 lines · cpp
1// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -std=c++20 %s -emit-llvm -o - | FileCheck %s2 3// CHECK-LABEL: define linkonce_odr void @"_ZN10Issue579601EIiEENS_1FILNS_3$_0EEEEv"()4namespace Issue57960 {5template<auto>6class F {};7 8template<typename D>9F<[]{}> E() {10    return {};11}12 13static auto f = E<int>();14}15