This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
ac51de6ec2
llvm-project
/
clang
/
test
/
CodeGenCXX
/
static-assert.cpp
8 lines
124 B
C++
Raw
Normal View
History
Unescape
Escape
Update all tests other than Driver/std.cpp to use -std=c++11 rather than -std=c++0x. Patch by Ahmed Charles! llvm-svn: 141900
2011-10-14 06:29:44 +08:00
// RUN: %clang_cc1 %s -emit-llvm -o - -std=c++11 -verify
Don't assert when generating code with static_asserts. llvm-svn: 73208
2009-06-12 05:22:55 +08:00
static_assert
(
true
,
"
"
)
;
Handle static_assert inside functions. llvm-svn: 90461
2009-12-04 01:26:31 +08:00
void
f
(
)
{
static_assert
(
true
,
"
"
)
;
}