This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > cat foo.cpp | |
| class A { | |
| public: | |
| A() { | |
| a_[0] = 0x1; | |
| a_[1] = 0x15; | |
| a_[2] = 0x34; | |
| } | |
| int result(int value) const { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### No reference test | |
| > cat a.cpp | |
| int boo(int); | |
| int foo(int a) { | |
| return boo(a); | |
| } | |
| > g++ -O3 a.cpp -c -o a.o |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### No reference test | |
| > cat a.cpp | |
| int foo(int a) { | |
| return a + 3; | |
| } | |
| > g++ -O3 a.cpp -c -o a.o | |
| > objdump -d a.o |
NewerOlder