summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/ubsan/lit_tests/Misc/bool.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2013-10-02 05:05:28 +0000
committerNick Lewycky <nicholas@mxc.ca>2013-10-02 05:05:28 +0000
commitf60d8ae15544d1fd59b2c9241f6387d66489780d (patch)
treec7f1a982e764d2a75bb832fd1b4d30d8c18e48ba /compiler-rt/lib/ubsan/lit_tests/Misc/bool.cpp
parentce550076d0adb733b1ed745526d83195f74bd5a5 (diff)
downloadbcm5719-llvm-f60d8ae15544d1fd59b2c9241f6387d66489780d.tar.gz
bcm5719-llvm-f60d8ae15544d1fd59b2c9241f6387d66489780d.zip
This fixme is resolved, fix the test.
llvm-svn: 191810
Diffstat (limited to 'compiler-rt/lib/ubsan/lit_tests/Misc/bool.cpp')
-rw-r--r--compiler-rt/lib/ubsan/lit_tests/Misc/bool.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler-rt/lib/ubsan/lit_tests/Misc/bool.cpp b/compiler-rt/lib/ubsan/lit_tests/Misc/bool.cpp
index 8fafe7eac05..922d3c92538 100644
--- a/compiler-rt/lib/ubsan/lit_tests/Misc/bool.cpp
+++ b/compiler-rt/lib/ubsan/lit_tests/Misc/bool.cpp
@@ -5,7 +5,6 @@ unsigned char NotABool = 123;
int main(int argc, char **argv) {
bool *p = (bool*)&NotABool;
- // FIXME: Provide a better source location here.
- // CHECK: bool.exe:0x{{[0-9a-f]*}}: runtime error: load of value 123, which is not a valid value for type 'bool'
+ // CHECK: bool.cpp:9:10: runtime error: load of value 123, which is not a valid value for type 'bool'
return *p;
}
OpenPOWER on IntegriCloud