Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/g++.dg/torture/pr71281.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
45 long m_fn2(); | 45 long m_fn2(); |
46 reference operator[](unsigned); | 46 reference operator[](unsigned); |
47 reference m_fn3(unsigned){ | 47 reference m_fn3(unsigned){ |
48 if (m_fn2()) | 48 if (m_fn2()) |
49 fn1(); | 49 fn1(); |
50 } | 50 } // { dg-warning "control reaches end of non-void function" } |
51 }; | 51 }; |
52 | 52 |
53 H<H<H<unsigned>>> c; | 53 H<H<H<unsigned>>> c; |
54 void fn2() { | 54 void fn2() { |
55 H<unsigned, C<int>> e; | 55 H<unsigned, C<int>> e; |