summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/auto19.C
blob: f7099028710d7b8d11617d2c26017e8d04e8a5d4 (plain)
1
2
3
4
5
6
7
8
// { dg-options -std=c++0x }

struct Explicit {
  Explicit() = default;  // Line 2
  explicit Explicit(const Explicit&){}
} ex;

auto ex2(ex); // Line 6