brintos

brintos / llvm-project-archived public Read only

0
0
Text · 481 B · 87039ef Raw
16 lines · cpp
1// RUN: rm -rf %t2// RUN: %clang_cc1 -x c++ -std=c++1z -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/cxx17 %s -verify -fno-modules-error-recovery3 4// expected-no-diagnostics5struct MergeExceptionSpec {6  ~MergeExceptionSpec();7} mergeExceptionSpec; // trigger evaluation of exception spec8 9#include "decls.h"10 11MergeExceptionSpec mergeExceptionSpec2;12 13template<typename T> struct DeductionGuide {};14DeductionGuide() -> DeductionGuide<int>;15DeductionGuide a;16