$ cat test.m
int main() {
  @"bla";
}
$./clang test.m
running "/Users/nico/src/llvm-svn/Debug/bin/clang -fsyntax-only test.m"
0   clang                               0x0021ee1d
_ZN40_GLOBAL__N_Signals.cpp_00000000_6071175B15PrintStackTraceEv + 45
1   clang                               0x0021f1c3

*snip*

./clang: line 35: 31432 Bus error               $command

The attached patch fixes this problem. I'm not sure if I've put the test in the right place since it's a regression test for the parser pretending to be a sema test. Feel free to put it somewhere else.

Nico

Attachment: unused_nsstring.patch
Description: Binary data


_______________________________________________
cfe-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

Reply via email to