fork download
  1. #include <vector>
  2. int main()
  3. {
  4. std::vector<unsigned short int> list = {1};
  5. unsigned short int one = 1;
  6.  
  7. one += list.at(0); // produces warning
  8. one += 1; // produces warning
  9. one += static_cast<unsigned short int>(1); // produces warning
  10. one++;
  11. }
Success #stdin #stdout 0s 3424KB
stdin
Standard input is empty
stdout
Standard output is empty