George Burgess IV | 92b43a4 | 2016-07-21 03:28:13 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -verify -fsyntax-only -triple=i686-linux-gnu -std=c++11 |
2 | |||||
3 | // We crashed when we couldn't properly convert the first arg of __atomic_* to | ||||
4 | // an lvalue. | ||||
5 | void PR28623() { | ||||
6 | void helper(int); // expected-note{{target}} | ||||
7 | void helper(char); // expected-note{{target}} | ||||
8 | __atomic_store_n(helper, 0, 0); // expected-error{{reference to overloaded function could not be resolved}} | ||||
9 | } |