public class Tests {
// Async exceptions will be raised while executing this method
+ // On amd64, this doesn't have a frame pointer
static void foo () {
for (int i = 0; i < 10; ++i)
;
}
+ // This does have a frame pointer
+ static void bar () {
+ for (int i = 0; i < 10; ++i)
+ ;
+
+ try {
+ } catch {
+ }
+ }
+
public static int Main (String[] args) {
try {
foo ();
} catch (NullReferenceException ex) {
- return 0;
+ }
+
+ try {
+ bar ();
+ } catch (NullReferenceException ex) {
}
return 0;