[ create a new paste ] login | about

Link: http://codepad.org/zxBugY0w    [ raw code | output | fork ]

C, pasted on Apr 17:
1
2
3
4
5
6
7
8
9
#include "gtest/gtest.h"
#include "gmock/gmock.h"

using namespace std;

int main(void) {
        EXPECT_EQ(1,2) << "not equal test!" << endl;
        return 0;
}


Output:
1
2
3
4
5
6
7
8
Line 24: error: gtest/gtest.h: No such file or directory
Line 24: error: gmock/gmock.h: No such file or directory
Line 4: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'namespace'
In function 'main':
Line 7: error: invalid operands to binary <<
Line 7: error: 'endl' undeclared (first use in this function)
Line 7: error: (Each undeclared identifier is reported only once
Line 7: error: for each function it appears in.)


Create a new paste based on this one


Comments: