annotate clang/test/Sema/crash-deduction-guide-access.cpp @ 222:81f6424ef0e3 llvm-original

LLVM original branch
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 18 Jul 2021 22:10:01 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: not %clang_cc1 -x c++ -std=c++17 -fsyntax-only %s
anatofuz
parents:
diff changeset
2 template <typename U>
anatofuz
parents:
diff changeset
3 class Imp {
anatofuz
parents:
diff changeset
4 template <typename F>
anatofuz
parents:
diff changeset
5 explicit Imp(F f);
anatofuz
parents:
diff changeset
6 };
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 template <typename T>
anatofuz
parents:
diff changeset
9 class Cls {
anatofuz
parents:
diff changeset
10 explicit Imp() : f() {}
anatofuz
parents:
diff changeset
11 };