File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3205,7 +3205,7 @@ namespace {
3205
3205
return false ;
3206
3206
return d->getName () == " abs" || d->getName () == " div" ||
3207
3207
d->getName () == " strstr" || d->getName () == " sin" ||
3208
- d->getName () == " cos" ;
3208
+ d->getName () == " cos" || d-> getName () == " exit " ;
3209
3209
};
3210
3210
if (decl->getOwningModule () &&
3211
3211
(decl->getOwningModule ()
Original file line number Diff line number Diff line change @@ -21,4 +21,6 @@ func test() {
21
21
let _ = CxxStdlib . abs ( x) // expected-error {{module 'CxxStdlib' has no member named 'abs'}}
22
22
let _ = CxxStdlib . div ( x) // expected-error {{module 'CxxStdlib' has no member named 'div'}}
23
23
let _ = CxxStdlib . strstr ( " a " , " aaa " ) // expected-error {{module 'CxxStdlib' has no member named 'strstr'}}
24
+
25
+ exit ( 0 )
24
26
}
You can’t perform that action at this time.
0 commit comments