Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CXX / temp / temp.deduct.guide / p2.cpp
blob3549755ff0f29e2c3ecd7e46a82ff919259c203f
1 // RUN: %clang_cc1 -std=c++1z -verify %s
2 // expected-no-diagnostics
4 namespace std_example {
5 template<typename T, typename U = int> struct S {
6 T data;
7 };
8 template<typename U> S(U) -> S<typename U::type>;
10 struct A {
11 using type = short;
12 operator type();
14 S x{A()};