-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests: No Bugs: android/ndk#1618 Change-Id: I211593312ae6858a30a401a10681230cafb3214d (cherry picked from commit 6bd8bfd9c3b5dbdbdfa1be5eb25f614c0d724b05) Merged-In: I211593312ae6858a30a401a10681230cafb3214d
- Loading branch information
1 parent
4a7739f
commit fcb3751
Showing
3 changed files
with
15 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
cmake_minimum_required(VERSION 3.6.0) | ||
add_executable(foo foo.cpp) |
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,8 @@ | ||
int main(int argc, char** argv) { | ||
try { | ||
throw 42; | ||
} catch (const int& ex) { | ||
return ex; | ||
} | ||
return 0; | ||
} |
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,5 @@ | ||
def extra_cmake_flags(): | ||
return ['-DANDROID_CPP_FEATURES=no-exceptions'] | ||
|
||
def is_negative_test(): | ||
return True |