Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / SemaCXX / dependent-noexcept-uninstantiated.cpp
blobddb2698902275392ad63786ed1358f69a3a26221
1 // RUN: %clang_cc1 -fsyntax-only -std=c++17 %s
2 // expected-no-diagnostics
4 using A = int;
5 using B = char;
7 template <class T> struct C {
8 template <class V> void f0() noexcept(sizeof(T) == sizeof(A) && sizeof(V) == sizeof(B)) {}
9 };
11 void (C<int>::*tmp1)() noexcept = &C<A>::f0<B>;