Commit efc704cb by Paolo Carlini Committed by Paolo Carlini

re PR c/11586 (after call sigaction, system() return wrong status)

2012-05-15  Paolo Carlini  <paolo.carlini@oracle.com>

    	* g++.old-deja/g++.pt/crash10.C: Adjust post PR11586.

From-SVN: r187559
parent ae10b574
2012-05-15 Paolo Carlini <paolo.carlini@oracle.com>
* g++.old-deja/g++.pt/crash10.C: Adjust post PR11586.
2012-05-15 Jakub Jelinek <jakub@redhat.com>
PR target/53358
......
......@@ -3,7 +3,7 @@
template<int M, int N>
class GCD {
public:
enum { val = (N == 0) ? M : GCD<N, M % N>::val }; // { dg-warning "division" "division" }
enum { val = (N == 0) ? M : GCD<N, M % N>::val };
// { dg-error "constant expression" "valid" { target *-*-* } 6 }
// { dg-message "template argument" "valid" { target *-*-* } 6 }
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment