Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CXX / expr / p3.cpp
blob6b243c26cc3155cb7e35399bf685b6b35dfddf84
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 double operator +(double, double); // expected-error{{overloaded 'operator+' must have at least one parameter of class or enumeration type}}
5 struct A
7 operator int();
8 };
10 int main()
12 A a, b;
13 int i0 = a + 1;
14 int i1 = a + b;