diff options
Diffstat (limited to 'clang/test/SemaCXX/i-c-e-cxx.cpp')
| -rw-r--r-- | clang/test/SemaCXX/i-c-e-cxx.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/i-c-e-cxx.cpp b/clang/test/SemaCXX/i-c-e-cxx.cpp index 32d04e2da40..dc369aba2d0 100644 --- a/clang/test/SemaCXX/i-c-e-cxx.cpp +++ b/clang/test/SemaCXX/i-c-e-cxx.cpp @@ -4,3 +4,7 @@ const int c = 10; int ar[c]; + +struct X0 { + static const int value = static_cast<int>(4.0); +}; |

