Skip to content

Commit

Permalink
Merge pull request #3702 from 9rnsr/fix11471
Browse files Browse the repository at this point in the history
[REG2.066a] Issue 11471 - [profile+nothrow] `asm` statements rejected in `nothrow` functions if built with "-profile"
  • Loading branch information
9rnsr committed Jun 29, 2014
2 parents e6c3089 + 31b5a22 commit 968566c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/compilable/test11471.d
@@ -0,0 +1,4 @@
// REQUIRED_ARGS: -profile

void main() nothrow
{ asm { nop; } } // Error: asm statements are assumed to throw

0 comments on commit 968566c

Please sign in to comment.