forked from OSchip/llvm-project
[analyzer] Fix bad test from r163220.
Add a FIXME to the test while I track down the real problem. llvm-svn: 163222
This commit is contained in:
parent
73bf7f5b5b
commit
6d92188ff7
|
@ -52,6 +52,12 @@ int getAssignedField(struct S s) {
|
|||
|
||||
void testArgument() {
|
||||
clang_analyzer_eval(getConstrainedField(getS()) == 42); // expected-warning{{TRUE}}
|
||||
#if __cplusplus
|
||||
// FIXME: Passing the struct by value seems to be confusing C++.
|
||||
// Possibly related to <rdar://problem/12137950>.
|
||||
// expected-warning@-4{{UNKNOWN}}
|
||||
#endif
|
||||
|
||||
clang_analyzer_eval(getAssignedField(getS()) == 42); // expected-warning{{TRUE}}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue