aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/expr/cond15.C
blob: 4a9d057a7578cd77a4b0da576da3279ef4160143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// PR c++/90393

struct S {
  S();
  S(const S&) {}
};

S f() {
  const S m;
  return true ? m : throw 0;
}

int main() {}