forked from qt-creator/qt-creator
		
	Add some checks for C++11 flag as well. Change-Id: Ic5ee81d72bc88a22e71b324ef01014791b833604 Reviewed-by: hjk <qthjk@ovi.com>
		
			
				
	
	
		
			10 lines
		
	
	
		
			197 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			197 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| struct S {
 | |
|     static_assert(sizeof(char) == 1, "Some message");
 | |
| 
 | |
|     void f() {
 | |
|         static_assert(sizeof(int) == 4, "Another message");
 | |
|     }
 | |
| };
 | |
| 
 | |
| static_assert(sizeof(char) == 1, "One more");
 |