* g++.dg/cpp0x/lambda/lambda-this8.C: use __builtin_abort

From-SVN: r196053
This commit is contained in:
Jason Merrill 2013-02-14 08:51:21 -05:00
parent 7d00dca998
commit 1c322ab156
1 changed files with 1 additions and 3 deletions

View File

@ -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) {