comparison: cmake/c++11-test-auto-N2546.cpp
cmake/c++11-test-auto-N2546.cpp
- changeset 473
- 2a84149fe642
equal
deleted
inserted
replaced
|
1 |
|
2 int main() |
|
3 { |
|
4 auto i = 5; |
|
5 auto f = 3.14159f; |
|
6 auto d = 3.14159; |
|
7 bool ret = ( |
|
8 (sizeof(f) < sizeof(d)) && |
|
9 (sizeof(i) == sizeof(int)) |
|
10 ); |
|
11 return ret ? 0 : 1; |
|
12 } |