commit | b7824d9919c3588e898c22f47a5248f10a7a084d | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Mon May 21 19:40:38 2012 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Mon May 21 19:40:38 2012 +0000 |
tree | d50b225a8fcef035617b5f8821fa2ae1e4712a6a | |
parent | 5a42a0292ad4d11ccf0ae9d06f6c15c3c811adfd [diff] [blame] |
Analyzer: Fix PR12905, a crash when encountering a call to a function named "C". While there clean up indentation. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157204 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/PR12905.c b/test/Analysis/PR12905.c new file mode 100644 index 0000000..8f678d1 --- /dev/null +++ b/test/Analysis/PR12905.c
@@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -analyze -analyzer-checker=core %s +// PR12905 + +void C(void); + +void t(void) { + C(); +}