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 @@ -3208,7 +3208,7 @@ namespace {
3208
3208
return false ;
3209
3209
return d->getName () == " abs" || d->getName () == " div" ||
3210
3210
d->getName () == " strstr" || d->getName () == " sin" ||
3211
- d->getName () == " cos" ;
3211
+ d->getName () == " cos" || d-> getName () == " exit " ;
3212
3212
};
3213
3213
if (decl->getOwningModule () &&
3214
3214
(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