-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
116 additions
and
71 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#include "unsupported_class.h" | ||
|
||
int private_array::sum() { | ||
return values[0] + values[1]; | ||
} | ||
|
||
private_array return_private_array() { | ||
return private_array(); | ||
} | ||
|
||
bool parameter_private_array(private_array pa) { | ||
return false; | ||
} | ||
|
||
int delete_constructor::sum() { | ||
return values[0] + values[1]; | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#ifndef UTBOTCPP_UNSUPPORTED_CLASS_H | ||
#define UTBOTCPP_UNSUPPORTED_CLASS_H | ||
|
||
|
||
class private_array { | ||
private: | ||
int values[2]; | ||
public: | ||
int sum(); | ||
}; | ||
|
||
private_array return_private_array(); | ||
|
||
bool parameter_private_array(private_array pa); | ||
|
||
class delete_constructor { | ||
public: | ||
delete_constructor() = delete; | ||
|
||
int values[5]; | ||
|
||
int sum(); | ||
}; | ||
|
||
class private_constructor { | ||
private_constructor() = default; | ||
|
||
public: | ||
int values[2]; | ||
|
||
int sum(); | ||
}; | ||
|
||
|
||
#endif //UTBOTCPP_UNSUPPORTED_CLASS_H |