* g++.dg/cpp0x/lambda/lambda-this8.C: use __builtin_abort
From-SVN: r196053
This commit is contained in:
parent
7d00dca998
commit
1c322ab156
|
@ -3,8 +3,6 @@
|
|||
|
||||
#include <functional>
|
||||
|
||||
extern "C" void abort() throw();
|
||||
|
||||
struct test {
|
||||
template<typename T>
|
||||
std::function<void()> broken(int x) {
|
||||
|
@ -26,7 +24,7 @@ struct test {
|
|||
}
|
||||
|
||||
template<typename T>
|
||||
void print() { if (this == NULL) abort (); }
|
||||
void print() { if (this == NULL) __builtin_abort (); }
|
||||
};
|
||||
|
||||
int main(void) {
|
||||
|
|
Loading…
Reference in New Issue