Skip to content

Commit

Permalink
add inline testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
pkujhd committed Jun 15, 2020
1 parent 96d764a commit ea16ec7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions examples/inline/inline.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package main

func throw() {
panic("panic call function")
}

func inline() {
throw()
}

func main() {
inline()
}

0 comments on commit ea16ec7

Please sign in to comment.