Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / debug-info-cxx0x.cpp
blob4c31f60c0d96526a6c9c4a94a6e4d7a67775c97b
1 // RUN: %clang_cc1 -emit-llvm-only -std=c++11 -debug-info-kind=limited %s
3 namespace PR9414 {
4 int f() {
5 auto x = 0;
6 return x;
10 // Don't crash.
11 namespace PR13570 {
12 template<typename T, typename U> struct P {};
13 template<typename T> struct A {
14 template<typename U> static P<T,U> isa(U);
15 decltype(isa(int())) f() {}
17 template struct A<int>;