# Stan's ./runTests.py src/test/unit failing with g++/works with clang++

**URL:** <https://discourse.mc-stan.org/t/stans-runtests-py-src-test-unit-failing-with-g-works-with-clang/351>\
**Category:** Developers\
**Created:** [April 20, 2017, 3:24am UTC](https://discourse.mc-stan.org/t/stans-runtests-py-src-test-unit-failing-with-g-works-with-clang/351 "2017-04-20T03:24:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![syclik](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/syclik/32/6_2.png) [@syclik](https://discourse.mc-stan.org/u/syclik)\
**Post date:** [April 20, 2017, 3:51pm UTC](https://discourse.mc-stan.org/t/stans-runtests-py-src-test-unit-failing-with-g-works-with-clang/351/2 "2017-04-20T15:51:31Z")

</div>

@bbbales2, we might have run into either a compiler bug with g++ 5.4.0 or a non-standard way we wrote some of the code. I think this is related to @seantalts post here: [Probability test broken locally in unspecified way](http://discourse.mc-stan.org/t/probability-test-broken-locally-in-unspecified-way/350)

Hopefully we can figure this out.

---

_[View the full topic](https://discourse.mc-stan.org/t/stans-runtests-py-src-test-unit-failing-with-g-works-with-clang/351)._
